clarifai-web-grpc 10.7.2 → 10.8.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.
@@ -9894,4 +9894,46 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteDeployments =
9894
9894
  return this.client_.unaryCall(this.hostname_ +
9895
9895
  '/clarifai.api.V2/DeleteDeployments', request, metadata || {}, methodDescriptor_V2_DeleteDeployments);
9896
9896
  };
9897
+ /**
9898
+ * @const
9899
+ * @type {!grpc.web.MethodDescriptor<
9900
+ * !proto.clarifai.api.PostAuditLogSearchesRequest,
9901
+ * !proto.clarifai.api.MultiAuditLogSearchResponse>}
9902
+ */
9903
+ const methodDescriptor_V2_PostAuditLogSearches = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostAuditLogSearches', grpc.web.MethodType.UNARY, proto.clarifai.api.PostAuditLogSearchesRequest, proto.clarifai.api.MultiAuditLogSearchResponse,
9904
+ /**
9905
+ * @param {!proto.clarifai.api.PostAuditLogSearchesRequest} request
9906
+ * @return {!Uint8Array}
9907
+ */
9908
+ function (request) {
9909
+ return request.serializeBinary();
9910
+ }, proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinary);
9911
+ /**
9912
+ * @param {!proto.clarifai.api.PostAuditLogSearchesRequest} request The
9913
+ * request proto
9914
+ * @param {?Object<string, string>} metadata User defined
9915
+ * call metadata
9916
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAuditLogSearchResponse)}
9917
+ * callback The callback function(error, response)
9918
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAuditLogSearchResponse>|undefined}
9919
+ * The XHR Node Readable Stream
9920
+ */
9921
+ proto.clarifai.api.V2Client.prototype.postAuditLogSearches =
9922
+ function (request, metadata, callback) {
9923
+ return this.client_.rpcCall(this.hostname_ +
9924
+ '/clarifai.api.V2/PostAuditLogSearches', request, metadata || {}, methodDescriptor_V2_PostAuditLogSearches, callback);
9925
+ };
9926
+ /**
9927
+ * @param {!proto.clarifai.api.PostAuditLogSearchesRequest} request The
9928
+ * request proto
9929
+ * @param {?Object<string, string>=} metadata User defined
9930
+ * call metadata
9931
+ * @return {!Promise<!proto.clarifai.api.MultiAuditLogSearchResponse>}
9932
+ * Promise that resolves to the response
9933
+ */
9934
+ proto.clarifai.api.V2PromiseClient.prototype.postAuditLogSearches =
9935
+ function (request, metadata) {
9936
+ return this.client_.unaryCall(this.hostname_ +
9937
+ '/clarifai.api.V2/PostAuditLogSearches', request, metadata || {}, methodDescriptor_V2_PostAuditLogSearches);
9938
+ };
9897
9939
  module.exports = proto.clarifai.api;
@@ -192,6 +192,7 @@ goog.exportSymbol('proto.clarifai.api.MultiAnnotationResponse', null, global);
192
192
  goog.exportSymbol('proto.clarifai.api.MultiAnnotationSearchMetricsResponse', null, global);
193
193
  goog.exportSymbol('proto.clarifai.api.MultiAppDuplicationsResponse', null, global);
194
194
  goog.exportSymbol('proto.clarifai.api.MultiAppResponse', null, global);
195
+ goog.exportSymbol('proto.clarifai.api.MultiAuditLogSearchResponse', null, global);
195
196
  goog.exportSymbol('proto.clarifai.api.MultiBulkOperationsResponse', null, global);
196
197
  goog.exportSymbol('proto.clarifai.api.MultiCollaborationsResponse', null, global);
197
198
  goog.exportSymbol('proto.clarifai.api.MultiCollaboratorsResponse', null, global);
@@ -296,6 +297,7 @@ goog.exportSymbol('proto.clarifai.api.PostAnnotationsSearchesRequest', null, glo
296
297
  goog.exportSymbol('proto.clarifai.api.PostAppDuplicationsRequest', null, global);
297
298
  goog.exportSymbol('proto.clarifai.api.PostAppsRequest', null, global);
298
299
  goog.exportSymbol('proto.clarifai.api.PostAppsSearchesRequest', null, global);
300
+ goog.exportSymbol('proto.clarifai.api.PostAuditLogSearchesRequest', null, global);
299
301
  goog.exportSymbol('proto.clarifai.api.PostBulkOperationsRequest', null, global);
300
302
  goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
301
303
  goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
@@ -7821,6 +7823,48 @@ if (goog.DEBUG && !COMPILED) {
7821
7823
  */
7822
7824
  proto.clarifai.api.DeleteDeploymentsRequest.displayName = 'proto.clarifai.api.DeleteDeploymentsRequest';
7823
7825
  }
7826
+ /**
7827
+ * Generated by JsPbCodeGenerator.
7828
+ * @param {Array=} opt_data Optional initial data array, typically from a
7829
+ * server response, or constructed directly in Javascript. The array is used
7830
+ * in place and becomes part of the constructed object. It is not cloned.
7831
+ * If no data is provided, the constructed object will be empty, but still
7832
+ * valid.
7833
+ * @extends {jspb.Message}
7834
+ * @constructor
7835
+ */
7836
+ proto.clarifai.api.PostAuditLogSearchesRequest = function (opt_data) {
7837
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7838
+ };
7839
+ goog.inherits(proto.clarifai.api.PostAuditLogSearchesRequest, jspb.Message);
7840
+ if (goog.DEBUG && !COMPILED) {
7841
+ /**
7842
+ * @public
7843
+ * @override
7844
+ */
7845
+ proto.clarifai.api.PostAuditLogSearchesRequest.displayName = 'proto.clarifai.api.PostAuditLogSearchesRequest';
7846
+ }
7847
+ /**
7848
+ * Generated by JsPbCodeGenerator.
7849
+ * @param {Array=} opt_data Optional initial data array, typically from a
7850
+ * server response, or constructed directly in Javascript. The array is used
7851
+ * in place and becomes part of the constructed object. It is not cloned.
7852
+ * If no data is provided, the constructed object will be empty, but still
7853
+ * valid.
7854
+ * @extends {jspb.Message}
7855
+ * @constructor
7856
+ */
7857
+ proto.clarifai.api.MultiAuditLogSearchResponse = function (opt_data) {
7858
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiAuditLogSearchResponse.repeatedFields_, null);
7859
+ };
7860
+ goog.inherits(proto.clarifai.api.MultiAuditLogSearchResponse, jspb.Message);
7861
+ if (goog.DEBUG && !COMPILED) {
7862
+ /**
7863
+ * @public
7864
+ * @override
7865
+ */
7866
+ proto.clarifai.api.MultiAuditLogSearchResponse.displayName = 'proto.clarifai.api.MultiAuditLogSearchResponse';
7867
+ }
7824
7868
  /**
7825
7869
  * Generated by JsPbCodeGenerator.
7826
7870
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -28860,7 +28904,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
28860
28904
  query: jspb.Message.getFieldWithDefault(msg, 14, ""),
28861
28905
  name: jspb.Message.getFieldWithDefault(msg, 5, ""),
28862
28906
  filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
28863
- modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f
28907
+ modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
28908
+ licenseType: jspb.Message.getFieldWithDefault(msg, 29, 0),
28909
+ source: jspb.Message.getFieldWithDefault(msg, 30, 0),
28910
+ creator: jspb.Message.getFieldWithDefault(msg, 31, "")
28864
28911
  };
28865
28912
  if (includeInstance) {
28866
28913
  obj.$jspbMessageInstance = msg;
@@ -29001,6 +29048,18 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
29001
29048
  var value = /** @type {string} */ (reader.readString());
29002
29049
  msg.addModelVersionIds(value);
29003
29050
  break;
29051
+ case 29:
29052
+ var value = /** @type {!proto.clarifai.api.LicenseType} */ (reader.readEnum());
29053
+ msg.setLicenseType(value);
29054
+ break;
29055
+ case 30:
29056
+ var value = /** @type {number} */ (reader.readUint32());
29057
+ msg.setSource(value);
29058
+ break;
29059
+ case 31:
29060
+ var value = /** @type {string} */ (reader.readString());
29061
+ msg.setCreator(value);
29062
+ break;
29004
29063
  default:
29005
29064
  reader.skipField();
29006
29065
  break;
@@ -29134,6 +29193,18 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
29134
29193
  if (f.length > 0) {
29135
29194
  writer.writeRepeatedString(28, f);
29136
29195
  }
29196
+ f = message.getLicenseType();
29197
+ if (f !== 0.0) {
29198
+ writer.writeEnum(29, f);
29199
+ }
29200
+ f = message.getSource();
29201
+ if (f !== 0) {
29202
+ writer.writeUint32(30, f);
29203
+ }
29204
+ f = message.getCreator();
29205
+ if (f.length > 0) {
29206
+ writer.writeString(31, f);
29207
+ }
29137
29208
  };
29138
29209
  /**
29139
29210
  * optional UserAppIDSet user_app_id = 1;
@@ -29702,6 +29773,48 @@ proto.clarifai.api.ListModelsRequest.prototype.addModelVersionIds = function (va
29702
29773
  proto.clarifai.api.ListModelsRequest.prototype.clearModelVersionIdsList = function () {
29703
29774
  return this.setModelVersionIdsList([]);
29704
29775
  };
29776
+ /**
29777
+ * optional LicenseType license_type = 29;
29778
+ * @return {!proto.clarifai.api.LicenseType}
29779
+ */
29780
+ proto.clarifai.api.ListModelsRequest.prototype.getLicenseType = function () {
29781
+ return /** @type {!proto.clarifai.api.LicenseType} */ (jspb.Message.getFieldWithDefault(this, 29, 0));
29782
+ };
29783
+ /**
29784
+ * @param {!proto.clarifai.api.LicenseType} value
29785
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
29786
+ */
29787
+ proto.clarifai.api.ListModelsRequest.prototype.setLicenseType = function (value) {
29788
+ return jspb.Message.setProto3EnumField(this, 29, value);
29789
+ };
29790
+ /**
29791
+ * optional uint32 source = 30;
29792
+ * @return {number}
29793
+ */
29794
+ proto.clarifai.api.ListModelsRequest.prototype.getSource = function () {
29795
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 30, 0));
29796
+ };
29797
+ /**
29798
+ * @param {number} value
29799
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
29800
+ */
29801
+ proto.clarifai.api.ListModelsRequest.prototype.setSource = function (value) {
29802
+ return jspb.Message.setProto3IntField(this, 30, value);
29803
+ };
29804
+ /**
29805
+ * optional string creator = 31;
29806
+ * @return {string}
29807
+ */
29808
+ proto.clarifai.api.ListModelsRequest.prototype.getCreator = function () {
29809
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
29810
+ };
29811
+ /**
29812
+ * @param {string} value
29813
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
29814
+ */
29815
+ proto.clarifai.api.ListModelsRequest.prototype.setCreator = function (value) {
29816
+ return jspb.Message.setProto3StringField(this, 31, value);
29817
+ };
29705
29818
  if (jspb.Message.GENERATE_TO_OBJECT) {
29706
29819
  /**
29707
29820
  * Creates an object representation of this proto.
@@ -74561,6 +74674,394 @@ proto.clarifai.api.DeleteDeploymentsRequest.prototype.addIds = function (value,
74561
74674
  proto.clarifai.api.DeleteDeploymentsRequest.prototype.clearIdsList = function () {
74562
74675
  return this.setIdsList([]);
74563
74676
  };
74677
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74678
+ /**
74679
+ * Creates an object representation of this proto.
74680
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74681
+ * Optional fields that are not set will be set to undefined.
74682
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74683
+ * For the list of reserved names please see:
74684
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74685
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74686
+ * JSPB instance for transitional soy proto support:
74687
+ * http://goto/soy-param-migration
74688
+ * @return {!Object}
74689
+ */
74690
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.toObject = function (opt_includeInstance) {
74691
+ return proto.clarifai.api.PostAuditLogSearchesRequest.toObject(opt_includeInstance, this);
74692
+ };
74693
+ /**
74694
+ * Static version of the {@see toObject} method.
74695
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74696
+ * the JSPB instance for transitional soy proto support:
74697
+ * http://goto/soy-param-migration
74698
+ * @param {!proto.clarifai.api.PostAuditLogSearchesRequest} msg The msg instance to transform.
74699
+ * @return {!Object}
74700
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74701
+ */
74702
+ proto.clarifai.api.PostAuditLogSearchesRequest.toObject = function (includeInstance, msg) {
74703
+ var f, obj = {
74704
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
74705
+ auditLogQuery: (f = msg.getAuditLogQuery()) && proto_clarifai_api_resources_pb.AuditLogQuery.toObject(includeInstance, f),
74706
+ sortAscending: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
74707
+ pagination: (f = msg.getPagination()) && proto.clarifai.api.Pagination.toObject(includeInstance, f)
74708
+ };
74709
+ if (includeInstance) {
74710
+ obj.$jspbMessageInstance = msg;
74711
+ }
74712
+ return obj;
74713
+ };
74714
+ }
74715
+ /**
74716
+ * Deserializes binary data (in protobuf wire format).
74717
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74718
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest}
74719
+ */
74720
+ proto.clarifai.api.PostAuditLogSearchesRequest.deserializeBinary = function (bytes) {
74721
+ var reader = new jspb.BinaryReader(bytes);
74722
+ var msg = new proto.clarifai.api.PostAuditLogSearchesRequest;
74723
+ return proto.clarifai.api.PostAuditLogSearchesRequest.deserializeBinaryFromReader(msg, reader);
74724
+ };
74725
+ /**
74726
+ * Deserializes binary data (in protobuf wire format) from the
74727
+ * given reader into the given message object.
74728
+ * @param {!proto.clarifai.api.PostAuditLogSearchesRequest} msg The message object to deserialize into.
74729
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74730
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest}
74731
+ */
74732
+ proto.clarifai.api.PostAuditLogSearchesRequest.deserializeBinaryFromReader = function (msg, reader) {
74733
+ while (reader.nextField()) {
74734
+ if (reader.isEndGroup()) {
74735
+ break;
74736
+ }
74737
+ var field = reader.getFieldNumber();
74738
+ switch (field) {
74739
+ case 1:
74740
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
74741
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
74742
+ msg.setUserAppId(value);
74743
+ break;
74744
+ case 2:
74745
+ var value = new proto_clarifai_api_resources_pb.AuditLogQuery;
74746
+ reader.readMessage(value, proto_clarifai_api_resources_pb.AuditLogQuery.deserializeBinaryFromReader);
74747
+ msg.setAuditLogQuery(value);
74748
+ break;
74749
+ case 3:
74750
+ var value = /** @type {boolean} */ (reader.readBool());
74751
+ msg.setSortAscending(value);
74752
+ break;
74753
+ case 5:
74754
+ var value = new proto.clarifai.api.Pagination;
74755
+ reader.readMessage(value, proto.clarifai.api.Pagination.deserializeBinaryFromReader);
74756
+ msg.setPagination(value);
74757
+ break;
74758
+ default:
74759
+ reader.skipField();
74760
+ break;
74761
+ }
74762
+ }
74763
+ return msg;
74764
+ };
74765
+ /**
74766
+ * Serializes the message to binary data (in protobuf wire format).
74767
+ * @return {!Uint8Array}
74768
+ */
74769
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.serializeBinary = function () {
74770
+ var writer = new jspb.BinaryWriter();
74771
+ proto.clarifai.api.PostAuditLogSearchesRequest.serializeBinaryToWriter(this, writer);
74772
+ return writer.getResultBuffer();
74773
+ };
74774
+ /**
74775
+ * Serializes the given message to binary data (in protobuf wire
74776
+ * format), writing to the given BinaryWriter.
74777
+ * @param {!proto.clarifai.api.PostAuditLogSearchesRequest} message
74778
+ * @param {!jspb.BinaryWriter} writer
74779
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74780
+ */
74781
+ proto.clarifai.api.PostAuditLogSearchesRequest.serializeBinaryToWriter = function (message, writer) {
74782
+ var f = undefined;
74783
+ f = message.getUserAppId();
74784
+ if (f != null) {
74785
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
74786
+ }
74787
+ f = message.getAuditLogQuery();
74788
+ if (f != null) {
74789
+ writer.writeMessage(2, f, proto_clarifai_api_resources_pb.AuditLogQuery.serializeBinaryToWriter);
74790
+ }
74791
+ f = message.getSortAscending();
74792
+ if (f) {
74793
+ writer.writeBool(3, f);
74794
+ }
74795
+ f = message.getPagination();
74796
+ if (f != null) {
74797
+ writer.writeMessage(5, f, proto.clarifai.api.Pagination.serializeBinaryToWriter);
74798
+ }
74799
+ };
74800
+ /**
74801
+ * optional UserAppIDSet user_app_id = 1;
74802
+ * @return {?proto.clarifai.api.UserAppIDSet}
74803
+ */
74804
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getUserAppId = function () {
74805
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
74806
+ };
74807
+ /**
74808
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
74809
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
74810
+ */
74811
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setUserAppId = function (value) {
74812
+ return jspb.Message.setWrapperField(this, 1, value);
74813
+ };
74814
+ /**
74815
+ * Clears the message field making it undefined.
74816
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
74817
+ */
74818
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.clearUserAppId = function () {
74819
+ return this.setUserAppId(undefined);
74820
+ };
74821
+ /**
74822
+ * Returns whether this field is set.
74823
+ * @return {boolean}
74824
+ */
74825
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasUserAppId = function () {
74826
+ return jspb.Message.getField(this, 1) != null;
74827
+ };
74828
+ /**
74829
+ * optional AuditLogQuery audit_log_query = 2;
74830
+ * @return {?proto.clarifai.api.AuditLogQuery}
74831
+ */
74832
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getAuditLogQuery = function () {
74833
+ return /** @type{?proto.clarifai.api.AuditLogQuery} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.AuditLogQuery, 2));
74834
+ };
74835
+ /**
74836
+ * @param {?proto.clarifai.api.AuditLogQuery|undefined} value
74837
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
74838
+ */
74839
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setAuditLogQuery = function (value) {
74840
+ return jspb.Message.setWrapperField(this, 2, value);
74841
+ };
74842
+ /**
74843
+ * Clears the message field making it undefined.
74844
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
74845
+ */
74846
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.clearAuditLogQuery = function () {
74847
+ return this.setAuditLogQuery(undefined);
74848
+ };
74849
+ /**
74850
+ * Returns whether this field is set.
74851
+ * @return {boolean}
74852
+ */
74853
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasAuditLogQuery = function () {
74854
+ return jspb.Message.getField(this, 2) != null;
74855
+ };
74856
+ /**
74857
+ * optional bool sort_ascending = 3;
74858
+ * @return {boolean}
74859
+ */
74860
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getSortAscending = function () {
74861
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
74862
+ };
74863
+ /**
74864
+ * @param {boolean} value
74865
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
74866
+ */
74867
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setSortAscending = function (value) {
74868
+ return jspb.Message.setProto3BooleanField(this, 3, value);
74869
+ };
74870
+ /**
74871
+ * optional Pagination pagination = 5;
74872
+ * @return {?proto.clarifai.api.Pagination}
74873
+ */
74874
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getPagination = function () {
74875
+ return /** @type{?proto.clarifai.api.Pagination} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Pagination, 5));
74876
+ };
74877
+ /**
74878
+ * @param {?proto.clarifai.api.Pagination|undefined} value
74879
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
74880
+ */
74881
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setPagination = function (value) {
74882
+ return jspb.Message.setWrapperField(this, 5, value);
74883
+ };
74884
+ /**
74885
+ * Clears the message field making it undefined.
74886
+ * @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
74887
+ */
74888
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.clearPagination = function () {
74889
+ return this.setPagination(undefined);
74890
+ };
74891
+ /**
74892
+ * Returns whether this field is set.
74893
+ * @return {boolean}
74894
+ */
74895
+ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasPagination = function () {
74896
+ return jspb.Message.getField(this, 5) != null;
74897
+ };
74898
+ /**
74899
+ * List of repeated fields within this message type.
74900
+ * @private {!Array<number>}
74901
+ * @const
74902
+ */
74903
+ proto.clarifai.api.MultiAuditLogSearchResponse.repeatedFields_ = [2];
74904
+ if (jspb.Message.GENERATE_TO_OBJECT) {
74905
+ /**
74906
+ * Creates an object representation of this proto.
74907
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
74908
+ * Optional fields that are not set will be set to undefined.
74909
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
74910
+ * For the list of reserved names please see:
74911
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
74912
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
74913
+ * JSPB instance for transitional soy proto support:
74914
+ * http://goto/soy-param-migration
74915
+ * @return {!Object}
74916
+ */
74917
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.toObject = function (opt_includeInstance) {
74918
+ return proto.clarifai.api.MultiAuditLogSearchResponse.toObject(opt_includeInstance, this);
74919
+ };
74920
+ /**
74921
+ * Static version of the {@see toObject} method.
74922
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
74923
+ * the JSPB instance for transitional soy proto support:
74924
+ * http://goto/soy-param-migration
74925
+ * @param {!proto.clarifai.api.MultiAuditLogSearchResponse} msg The msg instance to transform.
74926
+ * @return {!Object}
74927
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74928
+ */
74929
+ proto.clarifai.api.MultiAuditLogSearchResponse.toObject = function (includeInstance, msg) {
74930
+ var f, obj = {
74931
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
74932
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto_clarifai_api_resources_pb.AuditLogEntry.toObject, includeInstance)
74933
+ };
74934
+ if (includeInstance) {
74935
+ obj.$jspbMessageInstance = msg;
74936
+ }
74937
+ return obj;
74938
+ };
74939
+ }
74940
+ /**
74941
+ * Deserializes binary data (in protobuf wire format).
74942
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
74943
+ * @return {!proto.clarifai.api.MultiAuditLogSearchResponse}
74944
+ */
74945
+ proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinary = function (bytes) {
74946
+ var reader = new jspb.BinaryReader(bytes);
74947
+ var msg = new proto.clarifai.api.MultiAuditLogSearchResponse;
74948
+ return proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinaryFromReader(msg, reader);
74949
+ };
74950
+ /**
74951
+ * Deserializes binary data (in protobuf wire format) from the
74952
+ * given reader into the given message object.
74953
+ * @param {!proto.clarifai.api.MultiAuditLogSearchResponse} msg The message object to deserialize into.
74954
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
74955
+ * @return {!proto.clarifai.api.MultiAuditLogSearchResponse}
74956
+ */
74957
+ proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinaryFromReader = function (msg, reader) {
74958
+ while (reader.nextField()) {
74959
+ if (reader.isEndGroup()) {
74960
+ break;
74961
+ }
74962
+ var field = reader.getFieldNumber();
74963
+ switch (field) {
74964
+ case 1:
74965
+ var value = new proto_clarifai_api_status_status_pb.Status;
74966
+ reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
74967
+ msg.setStatus(value);
74968
+ break;
74969
+ case 2:
74970
+ var value = new proto_clarifai_api_resources_pb.AuditLogEntry;
74971
+ reader.readMessage(value, proto_clarifai_api_resources_pb.AuditLogEntry.deserializeBinaryFromReader);
74972
+ msg.addEntries(value);
74973
+ break;
74974
+ default:
74975
+ reader.skipField();
74976
+ break;
74977
+ }
74978
+ }
74979
+ return msg;
74980
+ };
74981
+ /**
74982
+ * Serializes the message to binary data (in protobuf wire format).
74983
+ * @return {!Uint8Array}
74984
+ */
74985
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.serializeBinary = function () {
74986
+ var writer = new jspb.BinaryWriter();
74987
+ proto.clarifai.api.MultiAuditLogSearchResponse.serializeBinaryToWriter(this, writer);
74988
+ return writer.getResultBuffer();
74989
+ };
74990
+ /**
74991
+ * Serializes the given message to binary data (in protobuf wire
74992
+ * format), writing to the given BinaryWriter.
74993
+ * @param {!proto.clarifai.api.MultiAuditLogSearchResponse} message
74994
+ * @param {!jspb.BinaryWriter} writer
74995
+ * @suppress {unusedLocalVariables} f is only used for nested messages
74996
+ */
74997
+ proto.clarifai.api.MultiAuditLogSearchResponse.serializeBinaryToWriter = function (message, writer) {
74998
+ var f = undefined;
74999
+ f = message.getStatus();
75000
+ if (f != null) {
75001
+ writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
75002
+ }
75003
+ f = message.getEntriesList();
75004
+ if (f.length > 0) {
75005
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.AuditLogEntry.serializeBinaryToWriter);
75006
+ }
75007
+ };
75008
+ /**
75009
+ * optional status.Status status = 1;
75010
+ * @return {?proto.clarifai.api.status.Status}
75011
+ */
75012
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.getStatus = function () {
75013
+ return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
75014
+ };
75015
+ /**
75016
+ * @param {?proto.clarifai.api.status.Status|undefined} value
75017
+ * @return {!proto.clarifai.api.MultiAuditLogSearchResponse} returns this
75018
+ */
75019
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.setStatus = function (value) {
75020
+ return jspb.Message.setWrapperField(this, 1, value);
75021
+ };
75022
+ /**
75023
+ * Clears the message field making it undefined.
75024
+ * @return {!proto.clarifai.api.MultiAuditLogSearchResponse} returns this
75025
+ */
75026
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.clearStatus = function () {
75027
+ return this.setStatus(undefined);
75028
+ };
75029
+ /**
75030
+ * Returns whether this field is set.
75031
+ * @return {boolean}
75032
+ */
75033
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.hasStatus = function () {
75034
+ return jspb.Message.getField(this, 1) != null;
75035
+ };
75036
+ /**
75037
+ * repeated AuditLogEntry entries = 2;
75038
+ * @return {!Array<!proto.clarifai.api.AuditLogEntry>}
75039
+ */
75040
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.getEntriesList = function () {
75041
+ return /** @type{!Array<!proto.clarifai.api.AuditLogEntry>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.AuditLogEntry, 2));
75042
+ };
75043
+ /**
75044
+ * @param {!Array<!proto.clarifai.api.AuditLogEntry>} value
75045
+ * @return {!proto.clarifai.api.MultiAuditLogSearchResponse} returns this
75046
+ */
75047
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.setEntriesList = function (value) {
75048
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
75049
+ };
75050
+ /**
75051
+ * @param {!proto.clarifai.api.AuditLogEntry=} opt_value
75052
+ * @param {number=} opt_index
75053
+ * @return {!proto.clarifai.api.AuditLogEntry}
75054
+ */
75055
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.addEntries = function (opt_value, opt_index) {
75056
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.AuditLogEntry, opt_index);
75057
+ };
75058
+ /**
75059
+ * Clears the list making it empty but non-null.
75060
+ * @return {!proto.clarifai.api.MultiAuditLogSearchResponse} returns this
75061
+ */
75062
+ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.clearEntriesList = function () {
75063
+ return this.setEntriesList([]);
75064
+ };
74564
75065
  /**
74565
75066
  * List of repeated fields within this message type.
74566
75067
  * @private {!Array<number>}
@@ -238,6 +238,7 @@ proto.clarifai.auth.scope.S = {
238
238
  MODELS_SYNC: 27,
239
239
  MODELEXPORTS_GET: 142,
240
240
  MODELEXPORTS_ADD: 143,
241
+ MODELS_PULL: 150,
241
242
  WORKFLOWS_ADD: 18,
242
243
  WORKFLOWS_GET: 19,
243
244
  WORKFLOWS_PATCH: 20,
@@ -317,7 +318,8 @@ proto.clarifai.auth.scope.S = {
317
318
  DEPLOYMENTS_GET: 144,
318
319
  DEPLOYMENTS_ADD: 145,
319
320
  DEPLOYMENTS_DELETE: 146,
320
- INSTANCETYPES_GET: 148
321
+ INSTANCETYPES_GET: 148,
322
+ AUDITLOGS_GET: 149
321
323
  };
322
324
  /**
323
325
  * A tuple of {field number, class constructor} for the extension