@@ -1250,6 +1250,149 @@ proto.daemon.DaemonPromiseClient.prototype.solveChallenge =
12501250} ;
12511251
12521252
1253+ /**
1254+ * @const
1255+ * @type {!grpc.web.MethodDescriptor<
1256+ * !proto.daemon.AddChallengeRequest,
1257+ * !proto.daemon.AddChallengeResponse>}
1258+ */
1259+ const methodDescriptor_Daemon_AddChallenge = new grpc . web . MethodDescriptor (
1260+ '/daemon.Daemon/AddChallenge' ,
1261+ grpc . web . MethodType . SERVER_STREAMING ,
1262+ proto . daemon . AddChallengeRequest ,
1263+ proto . daemon . AddChallengeResponse ,
1264+ /** @param {!proto.daemon.AddChallengeRequest } request */
1265+ function ( request ) {
1266+ return request . serializeBinary ( ) ;
1267+ } ,
1268+ proto . daemon . AddChallengeResponse . deserializeBinary
1269+ ) ;
1270+
1271+
1272+ /**
1273+ * @const
1274+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1275+ * !proto.daemon.AddChallengeRequest,
1276+ * !proto.daemon.AddChallengeResponse>}
1277+ */
1278+ const methodInfo_Daemon_AddChallenge = new grpc . web . AbstractClientBase . MethodInfo (
1279+ proto . daemon . AddChallengeResponse ,
1280+ /** @param {!proto.daemon.AddChallengeRequest } request */
1281+ function ( request ) {
1282+ return request . serializeBinary ( ) ;
1283+ } ,
1284+ proto . daemon . AddChallengeResponse . deserializeBinary
1285+ ) ;
1286+
1287+
1288+ /**
1289+ * @param {!proto.daemon.AddChallengeRequest } request The request proto
1290+ * @param {?Object<string, string> } metadata User defined
1291+ * call metadata
1292+ * @return {!grpc.web.ClientReadableStream<!proto.daemon.AddChallengeResponse> }
1293+ * The XHR Node Readable Stream
1294+ */
1295+ proto . daemon . DaemonClient . prototype . addChallenge =
1296+ function ( request , metadata ) {
1297+ return this . client_ . serverStreaming ( this . hostname_ +
1298+ '/daemon.Daemon/AddChallenge' ,
1299+ request ,
1300+ metadata || { } ,
1301+ methodDescriptor_Daemon_AddChallenge ) ;
1302+ } ;
1303+
1304+
1305+ /**
1306+ * @param {!proto.daemon.AddChallengeRequest } request The request proto
1307+ * @param {?Object<string, string> } metadata User defined
1308+ * call metadata
1309+ * @return {!grpc.web.ClientReadableStream<!proto.daemon.AddChallengeResponse> }
1310+ * The XHR Node Readable Stream
1311+ */
1312+ proto . daemon . DaemonPromiseClient . prototype . addChallenge =
1313+ function ( request , metadata ) {
1314+ return this . client_ . serverStreaming ( this . hostname_ +
1315+ '/daemon.Daemon/AddChallenge' ,
1316+ request ,
1317+ metadata || { } ,
1318+ methodDescriptor_Daemon_AddChallenge ) ;
1319+ } ;
1320+
1321+
1322+ /**
1323+ * @const
1324+ * @type {!grpc.web.MethodDescriptor<
1325+ * !proto.daemon.AddNotificationRequest,
1326+ * !proto.daemon.AddNotificationResponse>}
1327+ */
1328+ const methodDescriptor_Daemon_AddNotification = new grpc . web . MethodDescriptor (
1329+ '/daemon.Daemon/AddNotification' ,
1330+ grpc . web . MethodType . UNARY ,
1331+ proto . daemon . AddNotificationRequest ,
1332+ proto . daemon . AddNotificationResponse ,
1333+ /** @param {!proto.daemon.AddNotificationRequest } request */
1334+ function ( request ) {
1335+ return request . serializeBinary ( ) ;
1336+ } ,
1337+ proto . daemon . AddNotificationResponse . deserializeBinary
1338+ ) ;
1339+
1340+
1341+ /**
1342+ * @const
1343+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1344+ * !proto.daemon.AddNotificationRequest,
1345+ * !proto.daemon.AddNotificationResponse>}
1346+ */
1347+ const methodInfo_Daemon_AddNotification = new grpc . web . AbstractClientBase . MethodInfo (
1348+ proto . daemon . AddNotificationResponse ,
1349+ /** @param {!proto.daemon.AddNotificationRequest } request */
1350+ function ( request ) {
1351+ return request . serializeBinary ( ) ;
1352+ } ,
1353+ proto . daemon . AddNotificationResponse . deserializeBinary
1354+ ) ;
1355+
1356+
1357+ /**
1358+ * @param {!proto.daemon.AddNotificationRequest } request The
1359+ * request proto
1360+ * @param {?Object<string, string> } metadata User defined
1361+ * call metadata
1362+ * @param {function(?grpc.web.Error, ?proto.daemon.AddNotificationResponse) }
1363+ * callback The callback function(error, response)
1364+ * @return {!grpc.web.ClientReadableStream<!proto.daemon.AddNotificationResponse>|undefined }
1365+ * The XHR Node Readable Stream
1366+ */
1367+ proto . daemon . DaemonClient . prototype . addNotification =
1368+ function ( request , metadata , callback ) {
1369+ return this . client_ . rpcCall ( this . hostname_ +
1370+ '/daemon.Daemon/AddNotification' ,
1371+ request ,
1372+ metadata || { } ,
1373+ methodDescriptor_Daemon_AddNotification ,
1374+ callback ) ;
1375+ } ;
1376+
1377+
1378+ /**
1379+ * @param {!proto.daemon.AddNotificationRequest } request The
1380+ * request proto
1381+ * @param {?Object<string, string> } metadata User defined
1382+ * call metadata
1383+ * @return {!Promise<!proto.daemon.AddNotificationResponse> }
1384+ * A native promise that resolves to the response
1385+ */
1386+ proto . daemon . DaemonPromiseClient . prototype . addNotification =
1387+ function ( request , metadata ) {
1388+ return this . client_ . unaryCall ( this . hostname_ +
1389+ '/daemon.Daemon/AddNotification' ,
1390+ request ,
1391+ metadata || { } ,
1392+ methodDescriptor_Daemon_AddNotification ) ;
1393+ } ;
1394+
1395+
12531396/**
12541397 * @const
12551398 * @type {!grpc.web.MethodDescriptor<
0 commit comments