clarifai-web-grpc 11.0.5 → 11.1.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.
@@ -9936,6 +9936,48 @@ proto.clarifai.api.V2PromiseClient.prototype.listWorkflowEvaluationTemplates =
9936
9936
  return this.client_.unaryCall(this.hostname_ +
9937
9937
  '/clarifai.api.V2/ListWorkflowEvaluationTemplates', request, metadata || {}, methodDescriptor_V2_ListWorkflowEvaluationTemplates);
9938
9938
  };
9939
+ /**
9940
+ * @const
9941
+ * @type {!grpc.web.MethodDescriptor<
9942
+ * !proto.clarifai.api.PostLogEntriesRequest,
9943
+ * !proto.clarifai.api.status.BaseResponse>}
9944
+ */
9945
+ const methodDescriptor_V2_PostLogEntries = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostLogEntries', grpc.web.MethodType.UNARY, proto.clarifai.api.PostLogEntriesRequest, proto_clarifai_api_status_status_pb.BaseResponse,
9946
+ /**
9947
+ * @param {!proto.clarifai.api.PostLogEntriesRequest} request
9948
+ * @return {!Uint8Array}
9949
+ */
9950
+ function (request) {
9951
+ return request.serializeBinary();
9952
+ }, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
9953
+ /**
9954
+ * @param {!proto.clarifai.api.PostLogEntriesRequest} request The
9955
+ * request proto
9956
+ * @param {?Object<string, string>} metadata User defined
9957
+ * call metadata
9958
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
9959
+ * callback The callback function(error, response)
9960
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
9961
+ * The XHR Node Readable Stream
9962
+ */
9963
+ proto.clarifai.api.V2Client.prototype.postLogEntries =
9964
+ function (request, metadata, callback) {
9965
+ return this.client_.rpcCall(this.hostname_ +
9966
+ '/clarifai.api.V2/PostLogEntries', request, metadata || {}, methodDescriptor_V2_PostLogEntries, callback);
9967
+ };
9968
+ /**
9969
+ * @param {!proto.clarifai.api.PostLogEntriesRequest} request The
9970
+ * request proto
9971
+ * @param {?Object<string, string>=} metadata User defined
9972
+ * call metadata
9973
+ * @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
9974
+ * Promise that resolves to the response
9975
+ */
9976
+ proto.clarifai.api.V2PromiseClient.prototype.postLogEntries =
9977
+ function (request, metadata) {
9978
+ return this.client_.unaryCall(this.hostname_ +
9979
+ '/clarifai.api.V2/PostLogEntries', request, metadata || {}, methodDescriptor_V2_PostLogEntries);
9980
+ };
9939
9981
  /**
9940
9982
  * @const
9941
9983
  * @type {!grpc.web.MethodDescriptor<
@@ -9978,4 +10020,84 @@ proto.clarifai.api.V2PromiseClient.prototype.listLogEntries =
9978
10020
  return this.client_.unaryCall(this.hostname_ +
9979
10021
  '/clarifai.api.V2/ListLogEntries', request, metadata || {}, methodDescriptor_V2_ListLogEntries);
9980
10022
  };
10023
+ /**
10024
+ * @const
10025
+ * @type {!grpc.web.MethodDescriptor<
10026
+ * !proto.clarifai.api.StreamLogEntriesRequest,
10027
+ * !proto.clarifai.api.MultiLogEntryResponse>}
10028
+ */
10029
+ const methodDescriptor_V2_StreamLogEntries = new grpc.web.MethodDescriptor('/clarifai.api.V2/StreamLogEntries', grpc.web.MethodType.SERVER_STREAMING, proto.clarifai.api.StreamLogEntriesRequest, proto.clarifai.api.MultiLogEntryResponse,
10030
+ /**
10031
+ * @param {!proto.clarifai.api.StreamLogEntriesRequest} request
10032
+ * @return {!Uint8Array}
10033
+ */
10034
+ function (request) {
10035
+ return request.serializeBinary();
10036
+ }, proto.clarifai.api.MultiLogEntryResponse.deserializeBinary);
10037
+ /**
10038
+ * @param {!proto.clarifai.api.StreamLogEntriesRequest} request The request proto
10039
+ * @param {?Object<string, string>=} metadata User defined
10040
+ * call metadata
10041
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiLogEntryResponse>}
10042
+ * The XHR Node Readable Stream
10043
+ */
10044
+ proto.clarifai.api.V2Client.prototype.streamLogEntries =
10045
+ function (request, metadata) {
10046
+ return this.client_.serverStreaming(this.hostname_ +
10047
+ '/clarifai.api.V2/StreamLogEntries', request, metadata || {}, methodDescriptor_V2_StreamLogEntries);
10048
+ };
10049
+ /**
10050
+ * @param {!proto.clarifai.api.StreamLogEntriesRequest} request The request proto
10051
+ * @param {?Object<string, string>=} metadata User defined
10052
+ * call metadata
10053
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiLogEntryResponse>}
10054
+ * The XHR Node Readable Stream
10055
+ */
10056
+ proto.clarifai.api.V2PromiseClient.prototype.streamLogEntries =
10057
+ function (request, metadata) {
10058
+ return this.client_.serverStreaming(this.hostname_ +
10059
+ '/clarifai.api.V2/StreamLogEntries', request, metadata || {}, methodDescriptor_V2_StreamLogEntries);
10060
+ };
10061
+ /**
10062
+ * @const
10063
+ * @type {!grpc.web.MethodDescriptor<
10064
+ * !proto.clarifai.api.PostComputePlaneMetricsRequest,
10065
+ * !proto.clarifai.api.status.BaseResponse>}
10066
+ */
10067
+ const methodDescriptor_V2_PostComputePlaneMetrics = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostComputePlaneMetrics', grpc.web.MethodType.UNARY, proto.clarifai.api.PostComputePlaneMetricsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
10068
+ /**
10069
+ * @param {!proto.clarifai.api.PostComputePlaneMetricsRequest} request
10070
+ * @return {!Uint8Array}
10071
+ */
10072
+ function (request) {
10073
+ return request.serializeBinary();
10074
+ }, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
10075
+ /**
10076
+ * @param {!proto.clarifai.api.PostComputePlaneMetricsRequest} request The
10077
+ * request proto
10078
+ * @param {?Object<string, string>} metadata User defined
10079
+ * call metadata
10080
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
10081
+ * callback The callback function(error, response)
10082
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
10083
+ * The XHR Node Readable Stream
10084
+ */
10085
+ proto.clarifai.api.V2Client.prototype.postComputePlaneMetrics =
10086
+ function (request, metadata, callback) {
10087
+ return this.client_.rpcCall(this.hostname_ +
10088
+ '/clarifai.api.V2/PostComputePlaneMetrics', request, metadata || {}, methodDescriptor_V2_PostComputePlaneMetrics, callback);
10089
+ };
10090
+ /**
10091
+ * @param {!proto.clarifai.api.PostComputePlaneMetricsRequest} request The
10092
+ * request proto
10093
+ * @param {?Object<string, string>=} metadata User defined
10094
+ * call metadata
10095
+ * @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
10096
+ * Promise that resolves to the response
10097
+ */
10098
+ proto.clarifai.api.V2PromiseClient.prototype.postComputePlaneMetrics =
10099
+ function (request, metadata) {
10100
+ return this.client_.unaryCall(this.hostname_ +
10101
+ '/clarifai.api.V2/PostComputePlaneMetrics', request, metadata || {}, methodDescriptor_V2_PostComputePlaneMetrics);
10102
+ };
9981
10103
  module.exports = proto.clarifai.api;