clarifai-web-grpc 11.2.0 → 11.2.2

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.
@@ -294,6 +294,7 @@ goog.exportSymbol('proto.clarifai.api.PatchModelsRequest', null, global);
294
294
  goog.exportSymbol('proto.clarifai.api.PatchModuleVersionsRequest', null, global);
295
295
  goog.exportSymbol('proto.clarifai.api.PatchModulesRequest', null, global);
296
296
  goog.exportSymbol('proto.clarifai.api.PatchNodepoolsRequest', null, global);
297
+ goog.exportSymbol('proto.clarifai.api.PatchRunnersRequest', null, global);
297
298
  goog.exportSymbol('proto.clarifai.api.PatchSearchesRequest', null, global);
298
299
  goog.exportSymbol('proto.clarifai.api.PatchTasksRequest', null, global);
299
300
  goog.exportSymbol('proto.clarifai.api.PatchWorkflowIdsRequest', null, global);
@@ -7207,6 +7208,27 @@ if (goog.DEBUG && !COMPILED) {
7207
7208
  */
7208
7209
  proto.clarifai.api.PostRunnersRequest.displayName = 'proto.clarifai.api.PostRunnersRequest';
7209
7210
  }
7211
+ /**
7212
+ * Generated by JsPbCodeGenerator.
7213
+ * @param {Array=} opt_data Optional initial data array, typically from a
7214
+ * server response, or constructed directly in Javascript. The array is used
7215
+ * in place and becomes part of the constructed object. It is not cloned.
7216
+ * If no data is provided, the constructed object will be empty, but still
7217
+ * valid.
7218
+ * @extends {jspb.Message}
7219
+ * @constructor
7220
+ */
7221
+ proto.clarifai.api.PatchRunnersRequest = function (opt_data) {
7222
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchRunnersRequest.repeatedFields_, null);
7223
+ };
7224
+ goog.inherits(proto.clarifai.api.PatchRunnersRequest, jspb.Message);
7225
+ if (goog.DEBUG && !COMPILED) {
7226
+ /**
7227
+ * @public
7228
+ * @override
7229
+ */
7230
+ proto.clarifai.api.PatchRunnersRequest.displayName = 'proto.clarifai.api.PatchRunnersRequest';
7231
+ }
7210
7232
  /**
7211
7233
  * Generated by JsPbCodeGenerator.
7212
7234
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -27809,7 +27831,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
27809
27831
  workflowId: jspb.Message.getFieldWithDefault(msg, 7, ""),
27810
27832
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 9, ""),
27811
27833
  nodepoolId: jspb.Message.getFieldWithDefault(msg, 10, ""),
27812
- runnerId: jspb.Message.getFieldWithDefault(msg, 11, "")
27834
+ runnerId: jspb.Message.getFieldWithDefault(msg, 11, ""),
27835
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 12, ""),
27836
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 13, ""),
27837
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 14, "")
27813
27838
  };
27814
27839
  if (includeInstance) {
27815
27840
  obj.$jspbMessageInstance = msg;
@@ -27882,6 +27907,18 @@ proto.clarifai.api.ListLogEntriesRequest.deserializeBinaryFromReader = function
27882
27907
  var value = /** @type {string} */ (reader.readString());
27883
27908
  msg.setRunnerId(value);
27884
27909
  break;
27910
+ case 12:
27911
+ var value = /** @type {string} */ (reader.readString());
27912
+ msg.setPipelineId(value);
27913
+ break;
27914
+ case 13:
27915
+ var value = /** @type {string} */ (reader.readString());
27916
+ msg.setPipelineVersionId(value);
27917
+ break;
27918
+ case 14:
27919
+ var value = /** @type {string} */ (reader.readString());
27920
+ msg.setPipelineVersionRunId(value);
27921
+ break;
27885
27922
  default:
27886
27923
  reader.skipField();
27887
27924
  break;
@@ -27947,6 +27984,18 @@ proto.clarifai.api.ListLogEntriesRequest.serializeBinaryToWriter = function (mes
27947
27984
  if (f.length > 0) {
27948
27985
  writer.writeString(11, f);
27949
27986
  }
27987
+ f = message.getPipelineId();
27988
+ if (f.length > 0) {
27989
+ writer.writeString(12, f);
27990
+ }
27991
+ f = message.getPipelineVersionId();
27992
+ if (f.length > 0) {
27993
+ writer.writeString(13, f);
27994
+ }
27995
+ f = message.getPipelineVersionRunId();
27996
+ if (f.length > 0) {
27997
+ writer.writeString(14, f);
27998
+ }
27950
27999
  };
27951
28000
  /**
27952
28001
  * optional uint32 page = 1;
@@ -28102,6 +28151,48 @@ proto.clarifai.api.ListLogEntriesRequest.prototype.getRunnerId = function () {
28102
28151
  proto.clarifai.api.ListLogEntriesRequest.prototype.setRunnerId = function (value) {
28103
28152
  return jspb.Message.setProto3StringField(this, 11, value);
28104
28153
  };
28154
+ /**
28155
+ * optional string pipeline_id = 12;
28156
+ * @return {string}
28157
+ */
28158
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineId = function () {
28159
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
28160
+ };
28161
+ /**
28162
+ * @param {string} value
28163
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
28164
+ */
28165
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineId = function (value) {
28166
+ return jspb.Message.setProto3StringField(this, 12, value);
28167
+ };
28168
+ /**
28169
+ * optional string pipeline_version_id = 13;
28170
+ * @return {string}
28171
+ */
28172
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineVersionId = function () {
28173
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
28174
+ };
28175
+ /**
28176
+ * @param {string} value
28177
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
28178
+ */
28179
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineVersionId = function (value) {
28180
+ return jspb.Message.setProto3StringField(this, 13, value);
28181
+ };
28182
+ /**
28183
+ * optional string pipeline_version_run_id = 14;
28184
+ * @return {string}
28185
+ */
28186
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineVersionRunId = function () {
28187
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
28188
+ };
28189
+ /**
28190
+ * @param {string} value
28191
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
28192
+ */
28193
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineVersionRunId = function (value) {
28194
+ return jspb.Message.setProto3StringField(this, 14, value);
28195
+ };
28105
28196
  if (jspb.Message.GENERATE_TO_OBJECT) {
28106
28197
  /**
28107
28198
  * Creates an object representation of this proto.
@@ -28136,7 +28227,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
28136
28227
  workflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
28137
28228
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 6, ""),
28138
28229
  nodepoolId: jspb.Message.getFieldWithDefault(msg, 7, ""),
28139
- runnerId: jspb.Message.getFieldWithDefault(msg, 8, "")
28230
+ runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
28231
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 12, ""),
28232
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 13, ""),
28233
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 14, "")
28140
28234
  };
28141
28235
  if (includeInstance) {
28142
28236
  obj.$jspbMessageInstance = msg;
@@ -28201,6 +28295,18 @@ proto.clarifai.api.StreamLogEntriesRequest.deserializeBinaryFromReader = functio
28201
28295
  var value = /** @type {string} */ (reader.readString());
28202
28296
  msg.setRunnerId(value);
28203
28297
  break;
28298
+ case 12:
28299
+ var value = /** @type {string} */ (reader.readString());
28300
+ msg.setPipelineId(value);
28301
+ break;
28302
+ case 13:
28303
+ var value = /** @type {string} */ (reader.readString());
28304
+ msg.setPipelineVersionId(value);
28305
+ break;
28306
+ case 14:
28307
+ var value = /** @type {string} */ (reader.readString());
28308
+ msg.setPipelineVersionRunId(value);
28309
+ break;
28204
28310
  default:
28205
28311
  reader.skipField();
28206
28312
  break;
@@ -28258,6 +28364,18 @@ proto.clarifai.api.StreamLogEntriesRequest.serializeBinaryToWriter = function (m
28258
28364
  if (f.length > 0) {
28259
28365
  writer.writeString(8, f);
28260
28366
  }
28367
+ f = message.getPipelineId();
28368
+ if (f.length > 0) {
28369
+ writer.writeString(12, f);
28370
+ }
28371
+ f = message.getPipelineVersionId();
28372
+ if (f.length > 0) {
28373
+ writer.writeString(13, f);
28374
+ }
28375
+ f = message.getPipelineVersionRunId();
28376
+ if (f.length > 0) {
28377
+ writer.writeString(14, f);
28378
+ }
28261
28379
  };
28262
28380
  /**
28263
28381
  * optional string log_type = 1;
@@ -28385,6 +28503,48 @@ proto.clarifai.api.StreamLogEntriesRequest.prototype.getRunnerId = function () {
28385
28503
  proto.clarifai.api.StreamLogEntriesRequest.prototype.setRunnerId = function (value) {
28386
28504
  return jspb.Message.setProto3StringField(this, 8, value);
28387
28505
  };
28506
+ /**
28507
+ * optional string pipeline_id = 12;
28508
+ * @return {string}
28509
+ */
28510
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineId = function () {
28511
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
28512
+ };
28513
+ /**
28514
+ * @param {string} value
28515
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
28516
+ */
28517
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineId = function (value) {
28518
+ return jspb.Message.setProto3StringField(this, 12, value);
28519
+ };
28520
+ /**
28521
+ * optional string pipeline_version_id = 13;
28522
+ * @return {string}
28523
+ */
28524
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineVersionId = function () {
28525
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
28526
+ };
28527
+ /**
28528
+ * @param {string} value
28529
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
28530
+ */
28531
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineVersionId = function (value) {
28532
+ return jspb.Message.setProto3StringField(this, 13, value);
28533
+ };
28534
+ /**
28535
+ * optional string pipeline_version_run_id = 14;
28536
+ * @return {string}
28537
+ */
28538
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineVersionRunId = function () {
28539
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
28540
+ };
28541
+ /**
28542
+ * @param {string} value
28543
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
28544
+ */
28545
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineVersionRunId = function (value) {
28546
+ return jspb.Message.setProto3StringField(this, 14, value);
28547
+ };
28388
28548
  if (jspb.Message.GENERATE_TO_OBJECT) {
28389
28549
  /**
28390
28550
  * Creates an object representation of this proto.
@@ -69925,6 +70085,242 @@ proto.clarifai.api.PostRunnersRequest.prototype.getComputeClusterId = function (
69925
70085
  proto.clarifai.api.PostRunnersRequest.prototype.setComputeClusterId = function (value) {
69926
70086
  return jspb.Message.setProto3StringField(this, 4, value);
69927
70087
  };
70088
+ /**
70089
+ * List of repeated fields within this message type.
70090
+ * @private {!Array<number>}
70091
+ * @const
70092
+ */
70093
+ proto.clarifai.api.PatchRunnersRequest.repeatedFields_ = [3];
70094
+ if (jspb.Message.GENERATE_TO_OBJECT) {
70095
+ /**
70096
+ * Creates an object representation of this proto.
70097
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
70098
+ * Optional fields that are not set will be set to undefined.
70099
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
70100
+ * For the list of reserved names please see:
70101
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
70102
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
70103
+ * JSPB instance for transitional soy proto support:
70104
+ * http://goto/soy-param-migration
70105
+ * @return {!Object}
70106
+ */
70107
+ proto.clarifai.api.PatchRunnersRequest.prototype.toObject = function (opt_includeInstance) {
70108
+ return proto.clarifai.api.PatchRunnersRequest.toObject(opt_includeInstance, this);
70109
+ };
70110
+ /**
70111
+ * Static version of the {@see toObject} method.
70112
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70113
+ * the JSPB instance for transitional soy proto support:
70114
+ * http://goto/soy-param-migration
70115
+ * @param {!proto.clarifai.api.PatchRunnersRequest} msg The msg instance to transform.
70116
+ * @return {!Object}
70117
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70118
+ */
70119
+ proto.clarifai.api.PatchRunnersRequest.toObject = function (includeInstance, msg) {
70120
+ var f, obj = {
70121
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
70122
+ nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
70123
+ runnersList: jspb.Message.toObjectList(msg.getRunnersList(), proto_clarifai_api_resources_pb.Runner.toObject, includeInstance),
70124
+ computeClusterId: jspb.Message.getFieldWithDefault(msg, 4, ""),
70125
+ action: jspb.Message.getFieldWithDefault(msg, 5, "")
70126
+ };
70127
+ if (includeInstance) {
70128
+ obj.$jspbMessageInstance = msg;
70129
+ }
70130
+ return obj;
70131
+ };
70132
+ }
70133
+ /**
70134
+ * Deserializes binary data (in protobuf wire format).
70135
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
70136
+ * @return {!proto.clarifai.api.PatchRunnersRequest}
70137
+ */
70138
+ proto.clarifai.api.PatchRunnersRequest.deserializeBinary = function (bytes) {
70139
+ var reader = new jspb.BinaryReader(bytes);
70140
+ var msg = new proto.clarifai.api.PatchRunnersRequest;
70141
+ return proto.clarifai.api.PatchRunnersRequest.deserializeBinaryFromReader(msg, reader);
70142
+ };
70143
+ /**
70144
+ * Deserializes binary data (in protobuf wire format) from the
70145
+ * given reader into the given message object.
70146
+ * @param {!proto.clarifai.api.PatchRunnersRequest} msg The message object to deserialize into.
70147
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
70148
+ * @return {!proto.clarifai.api.PatchRunnersRequest}
70149
+ */
70150
+ proto.clarifai.api.PatchRunnersRequest.deserializeBinaryFromReader = function (msg, reader) {
70151
+ while (reader.nextField()) {
70152
+ if (reader.isEndGroup()) {
70153
+ break;
70154
+ }
70155
+ var field = reader.getFieldNumber();
70156
+ switch (field) {
70157
+ case 1:
70158
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
70159
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
70160
+ msg.setUserAppId(value);
70161
+ break;
70162
+ case 2:
70163
+ var value = /** @type {string} */ (reader.readString());
70164
+ msg.setNodepoolId(value);
70165
+ break;
70166
+ case 3:
70167
+ var value = new proto_clarifai_api_resources_pb.Runner;
70168
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
70169
+ msg.addRunners(value);
70170
+ break;
70171
+ case 4:
70172
+ var value = /** @type {string} */ (reader.readString());
70173
+ msg.setComputeClusterId(value);
70174
+ break;
70175
+ case 5:
70176
+ var value = /** @type {string} */ (reader.readString());
70177
+ msg.setAction(value);
70178
+ break;
70179
+ default:
70180
+ reader.skipField();
70181
+ break;
70182
+ }
70183
+ }
70184
+ return msg;
70185
+ };
70186
+ /**
70187
+ * Serializes the message to binary data (in protobuf wire format).
70188
+ * @return {!Uint8Array}
70189
+ */
70190
+ proto.clarifai.api.PatchRunnersRequest.prototype.serializeBinary = function () {
70191
+ var writer = new jspb.BinaryWriter();
70192
+ proto.clarifai.api.PatchRunnersRequest.serializeBinaryToWriter(this, writer);
70193
+ return writer.getResultBuffer();
70194
+ };
70195
+ /**
70196
+ * Serializes the given message to binary data (in protobuf wire
70197
+ * format), writing to the given BinaryWriter.
70198
+ * @param {!proto.clarifai.api.PatchRunnersRequest} message
70199
+ * @param {!jspb.BinaryWriter} writer
70200
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70201
+ */
70202
+ proto.clarifai.api.PatchRunnersRequest.serializeBinaryToWriter = function (message, writer) {
70203
+ var f = undefined;
70204
+ f = message.getUserAppId();
70205
+ if (f != null) {
70206
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
70207
+ }
70208
+ f = message.getNodepoolId();
70209
+ if (f.length > 0) {
70210
+ writer.writeString(2, f);
70211
+ }
70212
+ f = message.getRunnersList();
70213
+ if (f.length > 0) {
70214
+ writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter);
70215
+ }
70216
+ f = message.getComputeClusterId();
70217
+ if (f.length > 0) {
70218
+ writer.writeString(4, f);
70219
+ }
70220
+ f = message.getAction();
70221
+ if (f.length > 0) {
70222
+ writer.writeString(5, f);
70223
+ }
70224
+ };
70225
+ /**
70226
+ * optional UserAppIDSet user_app_id = 1;
70227
+ * @return {?proto.clarifai.api.UserAppIDSet}
70228
+ */
70229
+ proto.clarifai.api.PatchRunnersRequest.prototype.getUserAppId = function () {
70230
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
70231
+ };
70232
+ /**
70233
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
70234
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70235
+ */
70236
+ proto.clarifai.api.PatchRunnersRequest.prototype.setUserAppId = function (value) {
70237
+ return jspb.Message.setWrapperField(this, 1, value);
70238
+ };
70239
+ /**
70240
+ * Clears the message field making it undefined.
70241
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70242
+ */
70243
+ proto.clarifai.api.PatchRunnersRequest.prototype.clearUserAppId = function () {
70244
+ return this.setUserAppId(undefined);
70245
+ };
70246
+ /**
70247
+ * Returns whether this field is set.
70248
+ * @return {boolean}
70249
+ */
70250
+ proto.clarifai.api.PatchRunnersRequest.prototype.hasUserAppId = function () {
70251
+ return jspb.Message.getField(this, 1) != null;
70252
+ };
70253
+ /**
70254
+ * optional string nodepool_id = 2;
70255
+ * @return {string}
70256
+ */
70257
+ proto.clarifai.api.PatchRunnersRequest.prototype.getNodepoolId = function () {
70258
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
70259
+ };
70260
+ /**
70261
+ * @param {string} value
70262
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70263
+ */
70264
+ proto.clarifai.api.PatchRunnersRequest.prototype.setNodepoolId = function (value) {
70265
+ return jspb.Message.setProto3StringField(this, 2, value);
70266
+ };
70267
+ /**
70268
+ * repeated Runner runners = 3;
70269
+ * @return {!Array<!proto.clarifai.api.Runner>}
70270
+ */
70271
+ proto.clarifai.api.PatchRunnersRequest.prototype.getRunnersList = function () {
70272
+ return /** @type{!Array<!proto.clarifai.api.Runner>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Runner, 3));
70273
+ };
70274
+ /**
70275
+ * @param {!Array<!proto.clarifai.api.Runner>} value
70276
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70277
+ */
70278
+ proto.clarifai.api.PatchRunnersRequest.prototype.setRunnersList = function (value) {
70279
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
70280
+ };
70281
+ /**
70282
+ * @param {!proto.clarifai.api.Runner=} opt_value
70283
+ * @param {number=} opt_index
70284
+ * @return {!proto.clarifai.api.Runner}
70285
+ */
70286
+ proto.clarifai.api.PatchRunnersRequest.prototype.addRunners = function (opt_value, opt_index) {
70287
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Runner, opt_index);
70288
+ };
70289
+ /**
70290
+ * Clears the list making it empty but non-null.
70291
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70292
+ */
70293
+ proto.clarifai.api.PatchRunnersRequest.prototype.clearRunnersList = function () {
70294
+ return this.setRunnersList([]);
70295
+ };
70296
+ /**
70297
+ * optional string compute_cluster_id = 4;
70298
+ * @return {string}
70299
+ */
70300
+ proto.clarifai.api.PatchRunnersRequest.prototype.getComputeClusterId = function () {
70301
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
70302
+ };
70303
+ /**
70304
+ * @param {string} value
70305
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70306
+ */
70307
+ proto.clarifai.api.PatchRunnersRequest.prototype.setComputeClusterId = function (value) {
70308
+ return jspb.Message.setProto3StringField(this, 4, value);
70309
+ };
70310
+ /**
70311
+ * optional string action = 5;
70312
+ * @return {string}
70313
+ */
70314
+ proto.clarifai.api.PatchRunnersRequest.prototype.getAction = function () {
70315
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
70316
+ };
70317
+ /**
70318
+ * @param {string} value
70319
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70320
+ */
70321
+ proto.clarifai.api.PatchRunnersRequest.prototype.setAction = function (value) {
70322
+ return jspb.Message.setProto3StringField(this, 5, value);
70323
+ };
69928
70324
  /**
69929
70325
  * List of repeated fields within this message type.
69930
70326
  * @private {!Array<number>}