clarifai-web-grpc 10.8.7 → 10.9.1

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.
@@ -1645,6 +1645,13 @@ export class V2Client {
1645
1645
  response: proto_clarifai_api_service_pb.MultiAuditLogEntryResponse) => void
1646
1646
  ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAuditLogEntryResponse>;
1647
1647
 
1648
+ listWorkflowEvaluationTemplates(
1649
+ request: proto_clarifai_api_service_pb.ListWorkflowEvaluationTemplatesRequest,
1650
+ metadata: grpcWeb.Metadata | undefined,
1651
+ callback: (err: grpcWeb.RpcError,
1652
+ response: proto_clarifai_api_service_pb.MultiWorkflowEvaluationTemplateResponse) => void
1653
+ ): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiWorkflowEvaluationTemplateResponse>;
1654
+
1648
1655
  }
1649
1656
 
1650
1657
  export class V2PromiseClient {
@@ -2822,5 +2829,10 @@ export class V2PromiseClient {
2822
2829
  metadata?: grpcWeb.Metadata
2823
2830
  ): Promise<proto_clarifai_api_service_pb.MultiAuditLogEntryResponse>;
2824
2831
 
2832
+ listWorkflowEvaluationTemplates(
2833
+ request: proto_clarifai_api_service_pb.ListWorkflowEvaluationTemplatesRequest,
2834
+ metadata?: grpcWeb.Metadata
2835
+ ): Promise<proto_clarifai_api_service_pb.MultiWorkflowEvaluationTemplateResponse>;
2836
+
2825
2837
  }
2826
2838
 
@@ -14364,5 +14364,66 @@ proto.clarifai.api.V2PromiseClient.prototype.postAuditLogSearches =
14364
14364
  };
14365
14365
 
14366
14366
 
14367
+ /**
14368
+ * @const
14369
+ * @type {!grpc.web.MethodDescriptor<
14370
+ * !proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest,
14371
+ * !proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>}
14372
+ */
14373
+ const methodDescriptor_V2_ListWorkflowEvaluationTemplates = new grpc.web.MethodDescriptor(
14374
+ '/clarifai.api.V2/ListWorkflowEvaluationTemplates',
14375
+ grpc.web.MethodType.UNARY,
14376
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest,
14377
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse,
14378
+ /**
14379
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request
14380
+ * @return {!Uint8Array}
14381
+ */
14382
+ function(request) {
14383
+ return request.serializeBinary();
14384
+ },
14385
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinary
14386
+ );
14387
+
14388
+
14389
+ /**
14390
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request The
14391
+ * request proto
14392
+ * @param {?Object<string, string>} metadata User defined
14393
+ * call metadata
14394
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse)}
14395
+ * callback The callback function(error, response)
14396
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>|undefined}
14397
+ * The XHR Node Readable Stream
14398
+ */
14399
+ proto.clarifai.api.V2Client.prototype.listWorkflowEvaluationTemplates =
14400
+ function(request, metadata, callback) {
14401
+ return this.client_.rpcCall(this.hostname_ +
14402
+ '/clarifai.api.V2/ListWorkflowEvaluationTemplates',
14403
+ request,
14404
+ metadata || {},
14405
+ methodDescriptor_V2_ListWorkflowEvaluationTemplates,
14406
+ callback);
14407
+ };
14408
+
14409
+
14410
+ /**
14411
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} request The
14412
+ * request proto
14413
+ * @param {?Object<string, string>=} metadata User defined
14414
+ * call metadata
14415
+ * @return {!Promise<!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse>}
14416
+ * Promise that resolves to the response
14417
+ */
14418
+ proto.clarifai.api.V2PromiseClient.prototype.listWorkflowEvaluationTemplates =
14419
+ function(request, metadata) {
14420
+ return this.client_.unaryCall(this.hostname_ +
14421
+ '/clarifai.api.V2/ListWorkflowEvaluationTemplates',
14422
+ request,
14423
+ metadata || {},
14424
+ methodDescriptor_V2_ListWorkflowEvaluationTemplates);
14425
+ };
14426
+
14427
+
14367
14428
  module.exports = proto.clarifai.api;
14368
14429
 
@@ -10607,6 +10607,16 @@ export class ListDeploymentsRequest extends jspb.Message {
10607
10607
  getPerPage(): number;
10608
10608
  setPerPage(value: number): ListDeploymentsRequest;
10609
10609
 
10610
+ getModelVersionIdsList(): Array<string>;
10611
+ setModelVersionIdsList(value: Array<string>): ListDeploymentsRequest;
10612
+ clearModelVersionIdsList(): ListDeploymentsRequest;
10613
+ addModelVersionIds(value: string, index?: number): ListDeploymentsRequest;
10614
+
10615
+ getWorkflowVersionIdsList(): Array<string>;
10616
+ setWorkflowVersionIdsList(value: Array<string>): ListDeploymentsRequest;
10617
+ clearWorkflowVersionIdsList(): ListDeploymentsRequest;
10618
+ addWorkflowVersionIds(value: string, index?: number): ListDeploymentsRequest;
10619
+
10610
10620
  serializeBinary(): Uint8Array;
10611
10621
  toObject(includeInstance?: boolean): ListDeploymentsRequest.AsObject;
10612
10622
  static toObject(includeInstance: boolean, msg: ListDeploymentsRequest): ListDeploymentsRequest.AsObject;
@@ -10621,6 +10631,8 @@ export namespace ListDeploymentsRequest {
10621
10631
  nodepoolId: string,
10622
10632
  page: number,
10623
10633
  perPage: number,
10634
+ modelVersionIdsList: Array<string>,
10635
+ workflowVersionIdsList: Array<string>,
10624
10636
  }
10625
10637
  }
10626
10638
 
@@ -10820,6 +10832,46 @@ export namespace MultiDeploymentResponse {
10820
10832
  }
10821
10833
  }
10822
10834
 
10835
+ export class ListWorkflowEvaluationTemplatesRequest extends jspb.Message {
10836
+ serializeBinary(): Uint8Array;
10837
+ toObject(includeInstance?: boolean): ListWorkflowEvaluationTemplatesRequest.AsObject;
10838
+ static toObject(includeInstance: boolean, msg: ListWorkflowEvaluationTemplatesRequest): ListWorkflowEvaluationTemplatesRequest.AsObject;
10839
+ static serializeBinaryToWriter(message: ListWorkflowEvaluationTemplatesRequest, writer: jspb.BinaryWriter): void;
10840
+ static deserializeBinary(bytes: Uint8Array): ListWorkflowEvaluationTemplatesRequest;
10841
+ static deserializeBinaryFromReader(message: ListWorkflowEvaluationTemplatesRequest, reader: jspb.BinaryReader): ListWorkflowEvaluationTemplatesRequest;
10842
+ }
10843
+
10844
+ export namespace ListWorkflowEvaluationTemplatesRequest {
10845
+ export type AsObject = {
10846
+ }
10847
+ }
10848
+
10849
+ export class MultiWorkflowEvaluationTemplateResponse extends jspb.Message {
10850
+ getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
10851
+ setStatus(value?: proto_clarifai_api_status_status_pb.Status): MultiWorkflowEvaluationTemplateResponse;
10852
+ hasStatus(): boolean;
10853
+ clearStatus(): MultiWorkflowEvaluationTemplateResponse;
10854
+
10855
+ getWorkflowVersionEvaluationTemplatesList(): Array<proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate>;
10856
+ setWorkflowVersionEvaluationTemplatesList(value: Array<proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate>): MultiWorkflowEvaluationTemplateResponse;
10857
+ clearWorkflowVersionEvaluationTemplatesList(): MultiWorkflowEvaluationTemplateResponse;
10858
+ addWorkflowVersionEvaluationTemplates(value?: proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate, index?: number): proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate;
10859
+
10860
+ serializeBinary(): Uint8Array;
10861
+ toObject(includeInstance?: boolean): MultiWorkflowEvaluationTemplateResponse.AsObject;
10862
+ static toObject(includeInstance: boolean, msg: MultiWorkflowEvaluationTemplateResponse): MultiWorkflowEvaluationTemplateResponse.AsObject;
10863
+ static serializeBinaryToWriter(message: MultiWorkflowEvaluationTemplateResponse, writer: jspb.BinaryWriter): void;
10864
+ static deserializeBinary(bytes: Uint8Array): MultiWorkflowEvaluationTemplateResponse;
10865
+ static deserializeBinaryFromReader(message: MultiWorkflowEvaluationTemplateResponse, reader: jspb.BinaryReader): MultiWorkflowEvaluationTemplateResponse;
10866
+ }
10867
+
10868
+ export namespace MultiWorkflowEvaluationTemplateResponse {
10869
+ export type AsObject = {
10870
+ status?: proto_clarifai_api_status_status_pb.Status.AsObject,
10871
+ workflowVersionEvaluationTemplatesList: Array<proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.AsObject>,
10872
+ }
10873
+ }
10874
+
10823
10875
  export enum OrganizationInvitationStatus {
10824
10876
  NOT_SET = 0,
10825
10877
  PENDING = 1,
@@ -184,6 +184,7 @@ goog.exportSymbol('proto.clarifai.api.ListStatusCodesRequest', null, global);
184
184
  goog.exportSymbol('proto.clarifai.api.ListTasksRequest', null, global);
185
185
  goog.exportSymbol('proto.clarifai.api.ListTrendingMetricsViewsRequest', null, global);
186
186
  goog.exportSymbol('proto.clarifai.api.ListUploadsRequest', null, global);
187
+ goog.exportSymbol('proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest', null, global);
187
188
  goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionsRequest', null, global);
188
189
  goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest', null, global);
189
190
  goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest.SortByCase', null, global);
@@ -250,6 +251,7 @@ goog.exportSymbol('proto.clarifai.api.MultiTrainingTimeEstimateResponse', null,
250
251
  goog.exportSymbol('proto.clarifai.api.MultiTrendingMetricsViewResponse', null, global);
251
252
  goog.exportSymbol('proto.clarifai.api.MultiUploadResponse', null, global);
252
253
  goog.exportSymbol('proto.clarifai.api.MultiWorkerResponse', null, global);
254
+ goog.exportSymbol('proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse', null, global);
253
255
  goog.exportSymbol('proto.clarifai.api.MultiWorkflowResponse', null, global);
254
256
  goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionResponse', null, global);
255
257
  goog.exportSymbol('proto.clarifai.api.MyScopesRequest', null, global);
@@ -7729,7 +7731,7 @@ if (goog.DEBUG && !COMPILED) {
7729
7731
  * @constructor
7730
7732
  */
7731
7733
  proto.clarifai.api.ListDeploymentsRequest = function(opt_data) {
7732
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7734
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListDeploymentsRequest.repeatedFields_, null);
7733
7735
  };
7734
7736
  goog.inherits(proto.clarifai.api.ListDeploymentsRequest, jspb.Message);
7735
7737
  if (goog.DEBUG && !COMPILED) {
@@ -7886,6 +7888,48 @@ if (goog.DEBUG && !COMPILED) {
7886
7888
  */
7887
7889
  proto.clarifai.api.MultiDeploymentResponse.displayName = 'proto.clarifai.api.MultiDeploymentResponse';
7888
7890
  }
7891
+ /**
7892
+ * Generated by JsPbCodeGenerator.
7893
+ * @param {Array=} opt_data Optional initial data array, typically from a
7894
+ * server response, or constructed directly in Javascript. The array is used
7895
+ * in place and becomes part of the constructed object. It is not cloned.
7896
+ * If no data is provided, the constructed object will be empty, but still
7897
+ * valid.
7898
+ * @extends {jspb.Message}
7899
+ * @constructor
7900
+ */
7901
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest = function(opt_data) {
7902
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7903
+ };
7904
+ goog.inherits(proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest, jspb.Message);
7905
+ if (goog.DEBUG && !COMPILED) {
7906
+ /**
7907
+ * @public
7908
+ * @override
7909
+ */
7910
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.displayName = 'proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest';
7911
+ }
7912
+ /**
7913
+ * Generated by JsPbCodeGenerator.
7914
+ * @param {Array=} opt_data Optional initial data array, typically from a
7915
+ * server response, or constructed directly in Javascript. The array is used
7916
+ * in place and becomes part of the constructed object. It is not cloned.
7917
+ * If no data is provided, the constructed object will be empty, but still
7918
+ * valid.
7919
+ * @extends {jspb.Message}
7920
+ * @constructor
7921
+ */
7922
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse = function(opt_data) {
7923
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.repeatedFields_, null);
7924
+ };
7925
+ goog.inherits(proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse, jspb.Message);
7926
+ if (goog.DEBUG && !COMPILED) {
7927
+ /**
7928
+ * @public
7929
+ * @override
7930
+ */
7931
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.displayName = 'proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse';
7932
+ }
7889
7933
 
7890
7934
 
7891
7935
 
@@ -91003,6 +91047,13 @@ proto.clarifai.api.GetDeploymentRequest.prototype.setDeploymentId = function(val
91003
91047
 
91004
91048
 
91005
91049
 
91050
+ /**
91051
+ * List of repeated fields within this message type.
91052
+ * @private {!Array<number>}
91053
+ * @const
91054
+ */
91055
+ proto.clarifai.api.ListDeploymentsRequest.repeatedFields_ = [5,6];
91056
+
91006
91057
 
91007
91058
 
91008
91059
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -91037,7 +91088,9 @@ proto.clarifai.api.ListDeploymentsRequest.toObject = function(includeInstance, m
91037
91088
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
91038
91089
  nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
91039
91090
  page: jspb.Message.getFieldWithDefault(msg, 3, 0),
91040
- perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
91091
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
91092
+ modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
91093
+ workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
91041
91094
  };
91042
91095
 
91043
91096
  if (includeInstance) {
@@ -91091,6 +91144,14 @@ proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function
91091
91144
  var value = /** @type {number} */ (reader.readUint32());
91092
91145
  msg.setPerPage(value);
91093
91146
  break;
91147
+ case 5:
91148
+ var value = /** @type {string} */ (reader.readString());
91149
+ msg.addModelVersionIds(value);
91150
+ break;
91151
+ case 6:
91152
+ var value = /** @type {string} */ (reader.readString());
91153
+ msg.addWorkflowVersionIds(value);
91154
+ break;
91094
91155
  default:
91095
91156
  reader.skipField();
91096
91157
  break;
@@ -91149,6 +91210,20 @@ proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function(mes
91149
91210
  f
91150
91211
  );
91151
91212
  }
91213
+ f = message.getModelVersionIdsList();
91214
+ if (f.length > 0) {
91215
+ writer.writeRepeatedString(
91216
+ 5,
91217
+ f
91218
+ );
91219
+ }
91220
+ f = message.getWorkflowVersionIdsList();
91221
+ if (f.length > 0) {
91222
+ writer.writeRepeatedString(
91223
+ 6,
91224
+ f
91225
+ );
91226
+ }
91152
91227
  };
91153
91228
 
91154
91229
 
@@ -91243,6 +91318,80 @@ proto.clarifai.api.ListDeploymentsRequest.prototype.setPerPage = function(value)
91243
91318
  };
91244
91319
 
91245
91320
 
91321
+ /**
91322
+ * repeated string model_version_ids = 5;
91323
+ * @return {!Array<string>}
91324
+ */
91325
+ proto.clarifai.api.ListDeploymentsRequest.prototype.getModelVersionIdsList = function() {
91326
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
91327
+ };
91328
+
91329
+
91330
+ /**
91331
+ * @param {!Array<string>} value
91332
+ * @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
91333
+ */
91334
+ proto.clarifai.api.ListDeploymentsRequest.prototype.setModelVersionIdsList = function(value) {
91335
+ return jspb.Message.setField(this, 5, value || []);
91336
+ };
91337
+
91338
+
91339
+ /**
91340
+ * @param {string} value
91341
+ * @param {number=} opt_index
91342
+ * @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
91343
+ */
91344
+ proto.clarifai.api.ListDeploymentsRequest.prototype.addModelVersionIds = function(value, opt_index) {
91345
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
91346
+ };
91347
+
91348
+
91349
+ /**
91350
+ * Clears the list making it empty but non-null.
91351
+ * @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
91352
+ */
91353
+ proto.clarifai.api.ListDeploymentsRequest.prototype.clearModelVersionIdsList = function() {
91354
+ return this.setModelVersionIdsList([]);
91355
+ };
91356
+
91357
+
91358
+ /**
91359
+ * repeated string workflow_version_ids = 6;
91360
+ * @return {!Array<string>}
91361
+ */
91362
+ proto.clarifai.api.ListDeploymentsRequest.prototype.getWorkflowVersionIdsList = function() {
91363
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
91364
+ };
91365
+
91366
+
91367
+ /**
91368
+ * @param {!Array<string>} value
91369
+ * @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
91370
+ */
91371
+ proto.clarifai.api.ListDeploymentsRequest.prototype.setWorkflowVersionIdsList = function(value) {
91372
+ return jspb.Message.setField(this, 6, value || []);
91373
+ };
91374
+
91375
+
91376
+ /**
91377
+ * @param {string} value
91378
+ * @param {number=} opt_index
91379
+ * @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
91380
+ */
91381
+ proto.clarifai.api.ListDeploymentsRequest.prototype.addWorkflowVersionIds = function(value, opt_index) {
91382
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
91383
+ };
91384
+
91385
+
91386
+ /**
91387
+ * Clears the list making it empty but non-null.
91388
+ * @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
91389
+ */
91390
+ proto.clarifai.api.ListDeploymentsRequest.prototype.clearWorkflowVersionIdsList = function() {
91391
+ return this.setWorkflowVersionIdsList([]);
91392
+ };
91393
+
91394
+
91246
91395
 
91247
91396
  /**
91248
91397
  * List of repeated fields within this message type.
@@ -92809,6 +92958,318 @@ proto.clarifai.api.MultiDeploymentResponse.prototype.clearDeploymentsList = func
92809
92958
  };
92810
92959
 
92811
92960
 
92961
+
92962
+
92963
+
92964
+ if (jspb.Message.GENERATE_TO_OBJECT) {
92965
+ /**
92966
+ * Creates an object representation of this proto.
92967
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
92968
+ * Optional fields that are not set will be set to undefined.
92969
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
92970
+ * For the list of reserved names please see:
92971
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
92972
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
92973
+ * JSPB instance for transitional soy proto support:
92974
+ * http://goto/soy-param-migration
92975
+ * @return {!Object}
92976
+ */
92977
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.prototype.toObject = function(opt_includeInstance) {
92978
+ return proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.toObject(opt_includeInstance, this);
92979
+ };
92980
+
92981
+
92982
+ /**
92983
+ * Static version of the {@see toObject} method.
92984
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
92985
+ * the JSPB instance for transitional soy proto support:
92986
+ * http://goto/soy-param-migration
92987
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} msg The msg instance to transform.
92988
+ * @return {!Object}
92989
+ * @suppress {unusedLocalVariables} f is only used for nested messages
92990
+ */
92991
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.toObject = function(includeInstance, msg) {
92992
+ var f, obj = {
92993
+
92994
+ };
92995
+
92996
+ if (includeInstance) {
92997
+ obj.$jspbMessageInstance = msg;
92998
+ }
92999
+ return obj;
93000
+ };
93001
+ }
93002
+
93003
+
93004
+ /**
93005
+ * Deserializes binary data (in protobuf wire format).
93006
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
93007
+ * @return {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest}
93008
+ */
93009
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinary = function(bytes) {
93010
+ var reader = new jspb.BinaryReader(bytes);
93011
+ var msg = new proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest;
93012
+ return proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinaryFromReader(msg, reader);
93013
+ };
93014
+
93015
+
93016
+ /**
93017
+ * Deserializes binary data (in protobuf wire format) from the
93018
+ * given reader into the given message object.
93019
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} msg The message object to deserialize into.
93020
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
93021
+ * @return {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest}
93022
+ */
93023
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.deserializeBinaryFromReader = function(msg, reader) {
93024
+ while (reader.nextField()) {
93025
+ if (reader.isEndGroup()) {
93026
+ break;
93027
+ }
93028
+ var field = reader.getFieldNumber();
93029
+ switch (field) {
93030
+ default:
93031
+ reader.skipField();
93032
+ break;
93033
+ }
93034
+ }
93035
+ return msg;
93036
+ };
93037
+
93038
+
93039
+ /**
93040
+ * Serializes the message to binary data (in protobuf wire format).
93041
+ * @return {!Uint8Array}
93042
+ */
93043
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.prototype.serializeBinary = function() {
93044
+ var writer = new jspb.BinaryWriter();
93045
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.serializeBinaryToWriter(this, writer);
93046
+ return writer.getResultBuffer();
93047
+ };
93048
+
93049
+
93050
+ /**
93051
+ * Serializes the given message to binary data (in protobuf wire
93052
+ * format), writing to the given BinaryWriter.
93053
+ * @param {!proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest} message
93054
+ * @param {!jspb.BinaryWriter} writer
93055
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93056
+ */
93057
+ proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest.serializeBinaryToWriter = function(message, writer) {
93058
+ var f = undefined;
93059
+ };
93060
+
93061
+
93062
+
93063
+ /**
93064
+ * List of repeated fields within this message type.
93065
+ * @private {!Array<number>}
93066
+ * @const
93067
+ */
93068
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.repeatedFields_ = [2];
93069
+
93070
+
93071
+
93072
+ if (jspb.Message.GENERATE_TO_OBJECT) {
93073
+ /**
93074
+ * Creates an object representation of this proto.
93075
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
93076
+ * Optional fields that are not set will be set to undefined.
93077
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
93078
+ * For the list of reserved names please see:
93079
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
93080
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
93081
+ * JSPB instance for transitional soy proto support:
93082
+ * http://goto/soy-param-migration
93083
+ * @return {!Object}
93084
+ */
93085
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.toObject = function(opt_includeInstance) {
93086
+ return proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.toObject(opt_includeInstance, this);
93087
+ };
93088
+
93089
+
93090
+ /**
93091
+ * Static version of the {@see toObject} method.
93092
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
93093
+ * the JSPB instance for transitional soy proto support:
93094
+ * http://goto/soy-param-migration
93095
+ * @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} msg The msg instance to transform.
93096
+ * @return {!Object}
93097
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93098
+ */
93099
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.toObject = function(includeInstance, msg) {
93100
+ var f, obj = {
93101
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
93102
+ workflowVersionEvaluationTemplatesList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationTemplatesList(),
93103
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.toObject, includeInstance)
93104
+ };
93105
+
93106
+ if (includeInstance) {
93107
+ obj.$jspbMessageInstance = msg;
93108
+ }
93109
+ return obj;
93110
+ };
93111
+ }
93112
+
93113
+
93114
+ /**
93115
+ * Deserializes binary data (in protobuf wire format).
93116
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
93117
+ * @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse}
93118
+ */
93119
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinary = function(bytes) {
93120
+ var reader = new jspb.BinaryReader(bytes);
93121
+ var msg = new proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse;
93122
+ return proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinaryFromReader(msg, reader);
93123
+ };
93124
+
93125
+
93126
+ /**
93127
+ * Deserializes binary data (in protobuf wire format) from the
93128
+ * given reader into the given message object.
93129
+ * @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} msg The message object to deserialize into.
93130
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
93131
+ * @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse}
93132
+ */
93133
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.deserializeBinaryFromReader = function(msg, reader) {
93134
+ while (reader.nextField()) {
93135
+ if (reader.isEndGroup()) {
93136
+ break;
93137
+ }
93138
+ var field = reader.getFieldNumber();
93139
+ switch (field) {
93140
+ case 1:
93141
+ var value = new proto_clarifai_api_status_status_pb.Status;
93142
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
93143
+ msg.setStatus(value);
93144
+ break;
93145
+ case 2:
93146
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate;
93147
+ reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.deserializeBinaryFromReader);
93148
+ msg.addWorkflowVersionEvaluationTemplates(value);
93149
+ break;
93150
+ default:
93151
+ reader.skipField();
93152
+ break;
93153
+ }
93154
+ }
93155
+ return msg;
93156
+ };
93157
+
93158
+
93159
+ /**
93160
+ * Serializes the message to binary data (in protobuf wire format).
93161
+ * @return {!Uint8Array}
93162
+ */
93163
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.serializeBinary = function() {
93164
+ var writer = new jspb.BinaryWriter();
93165
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.serializeBinaryToWriter(this, writer);
93166
+ return writer.getResultBuffer();
93167
+ };
93168
+
93169
+
93170
+ /**
93171
+ * Serializes the given message to binary data (in protobuf wire
93172
+ * format), writing to the given BinaryWriter.
93173
+ * @param {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} message
93174
+ * @param {!jspb.BinaryWriter} writer
93175
+ * @suppress {unusedLocalVariables} f is only used for nested messages
93176
+ */
93177
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.serializeBinaryToWriter = function(message, writer) {
93178
+ var f = undefined;
93179
+ f = message.getStatus();
93180
+ if (f != null) {
93181
+ writer.writeMessage(
93182
+ 1,
93183
+ f,
93184
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
93185
+ );
93186
+ }
93187
+ f = message.getWorkflowVersionEvaluationTemplatesList();
93188
+ if (f.length > 0) {
93189
+ writer.writeRepeatedMessage(
93190
+ 2,
93191
+ f,
93192
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate.serializeBinaryToWriter
93193
+ );
93194
+ }
93195
+ };
93196
+
93197
+
93198
+ /**
93199
+ * optional status.Status status = 1;
93200
+ * @return {?proto.clarifai.api.status.Status}
93201
+ */
93202
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.getStatus = function() {
93203
+ return /** @type{?proto.clarifai.api.status.Status} */ (
93204
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
93205
+ };
93206
+
93207
+
93208
+ /**
93209
+ * @param {?proto.clarifai.api.status.Status|undefined} value
93210
+ * @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
93211
+ */
93212
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.setStatus = function(value) {
93213
+ return jspb.Message.setWrapperField(this, 1, value);
93214
+ };
93215
+
93216
+
93217
+ /**
93218
+ * Clears the message field making it undefined.
93219
+ * @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
93220
+ */
93221
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearStatus = function() {
93222
+ return this.setStatus(undefined);
93223
+ };
93224
+
93225
+
93226
+ /**
93227
+ * Returns whether this field is set.
93228
+ * @return {boolean}
93229
+ */
93230
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.hasStatus = function() {
93231
+ return jspb.Message.getField(this, 1) != null;
93232
+ };
93233
+
93234
+
93235
+ /**
93236
+ * repeated WorkflowVersionEvaluationTemplate workflow_version_evaluation_templates = 2;
93237
+ * @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>}
93238
+ */
93239
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.getWorkflowVersionEvaluationTemplatesList = function() {
93240
+ return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>} */ (
93241
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluationTemplate, 2));
93242
+ };
93243
+
93244
+
93245
+ /**
93246
+ * @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluationTemplate>} value
93247
+ * @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
93248
+ */
93249
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.setWorkflowVersionEvaluationTemplatesList = function(value) {
93250
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
93251
+ };
93252
+
93253
+
93254
+ /**
93255
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluationTemplate=} opt_value
93256
+ * @param {number=} opt_index
93257
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationTemplate}
93258
+ */
93259
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.addWorkflowVersionEvaluationTemplates = function(opt_value, opt_index) {
93260
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.WorkflowVersionEvaluationTemplate, opt_index);
93261
+ };
93262
+
93263
+
93264
+ /**
93265
+ * Clears the list making it empty but non-null.
93266
+ * @return {!proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse} returns this
93267
+ */
93268
+ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkflowVersionEvaluationTemplatesList = function() {
93269
+ return this.setWorkflowVersionEvaluationTemplatesList([]);
93270
+ };
93271
+
93272
+
92812
93273
  /**
92813
93274
  * @enum {number}
92814
93275
  */