app_api_grpc_web_pb.js 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913
  1. /**
  2. * @fileoverview gRPC-Web generated client stub for app.v1
  3. * @enhanceable
  4. * @public
  5. */
  6. // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
  7. // versions:
  8. // protoc-gen-grpc-web v1.4.2
  9. // protoc v3.20.3
  10. // source: app_api.proto
  11. /* eslint-disable */
  12. // @ts-nocheck
  13. const grpc = {};
  14. grpc.web = require('grpc-web');
  15. var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js')
  16. var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
  17. const proto = {};
  18. proto.app = {};
  19. proto.app.v1 = require('./app_api_pb.js');
  20. /**
  21. * @param {string} hostname
  22. * @param {?Object} credentials
  23. * @param {?grpc.web.ClientOptions} options
  24. * @constructor
  25. * @struct
  26. * @final
  27. */
  28. proto.app.v1.ApiAppClient =
  29. function(hostname, credentials, options) {
  30. if (!options) options = {};
  31. options.format = 'text';
  32. /**
  33. * @private @const {!grpc.web.GrpcWebClientBase} The client
  34. */
  35. this.client_ = new grpc.web.GrpcWebClientBase(options);
  36. /**
  37. * @private @const {string} The hostname
  38. */
  39. this.hostname_ = hostname.replace(/\/+$/, '');
  40. };
  41. /**
  42. * @param {string} hostname
  43. * @param {?Object} credentials
  44. * @param {?grpc.web.ClientOptions} options
  45. * @constructor
  46. * @struct
  47. * @final
  48. */
  49. proto.app.v1.ApiAppPromiseClient =
  50. function(hostname, credentials, options) {
  51. if (!options) options = {};
  52. options.format = 'text';
  53. /**
  54. * @private @const {!grpc.web.GrpcWebClientBase} The client
  55. */
  56. this.client_ = new grpc.web.GrpcWebClientBase(options);
  57. /**
  58. * @private @const {string} The hostname
  59. */
  60. this.hostname_ = hostname.replace(/\/+$/, '');
  61. };
  62. /**
  63. * @const
  64. * @type {!grpc.web.MethodDescriptor<
  65. * !proto.app.v1.AuthSendCodeToPhoneRequest,
  66. * !proto.app.v1.DefaultReply>}
  67. */
  68. const methodDescriptor_ApiApp_AuthSendCodeToPhone = new grpc.web.MethodDescriptor(
  69. '/app.v1.ApiApp/AuthSendCodeToPhone',
  70. grpc.web.MethodType.UNARY,
  71. proto.app.v1.AuthSendCodeToPhoneRequest,
  72. proto.app.v1.DefaultReply,
  73. /**
  74. * @param {!proto.app.v1.AuthSendCodeToPhoneRequest} request
  75. * @return {!Uint8Array}
  76. */
  77. function(request) {
  78. return request.serializeBinary();
  79. },
  80. proto.app.v1.DefaultReply.deserializeBinary
  81. );
  82. /**
  83. * @param {!proto.app.v1.AuthSendCodeToPhoneRequest} request The
  84. * request proto
  85. * @param {?Object<string, string>} metadata User defined
  86. * call metadata
  87. * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
  88. * callback The callback function(error, response)
  89. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
  90. * The XHR Node Readable Stream
  91. */
  92. proto.app.v1.ApiAppClient.prototype.authSendCodeToPhone =
  93. function(request, metadata, callback) {
  94. return this.client_.rpcCall(this.hostname_ +
  95. '/app.v1.ApiApp/AuthSendCodeToPhone',
  96. request,
  97. metadata || {},
  98. methodDescriptor_ApiApp_AuthSendCodeToPhone,
  99. callback);
  100. };
  101. /**
  102. * @param {!proto.app.v1.AuthSendCodeToPhoneRequest} request The
  103. * request proto
  104. * @param {?Object<string, string>=} metadata User defined
  105. * call metadata
  106. * @return {!Promise<!proto.app.v1.DefaultReply>}
  107. * Promise that resolves to the response
  108. */
  109. proto.app.v1.ApiAppPromiseClient.prototype.authSendCodeToPhone =
  110. function(request, metadata) {
  111. return this.client_.unaryCall(this.hostname_ +
  112. '/app.v1.ApiApp/AuthSendCodeToPhone',
  113. request,
  114. metadata || {},
  115. methodDescriptor_ApiApp_AuthSendCodeToPhone);
  116. };
  117. /**
  118. * @const
  119. * @type {!grpc.web.MethodDescriptor<
  120. * !proto.app.v1.DefaultRequest,
  121. * !proto.app.v1.Image>}
  122. */
  123. const methodDescriptor_ApiApp_GetVfPic = new grpc.web.MethodDescriptor(
  124. '/app.v1.ApiApp/GetVfPic',
  125. grpc.web.MethodType.UNARY,
  126. proto.app.v1.DefaultRequest,
  127. proto.app.v1.Image,
  128. /**
  129. * @param {!proto.app.v1.DefaultRequest} request
  130. * @return {!Uint8Array}
  131. */
  132. function(request) {
  133. return request.serializeBinary();
  134. },
  135. proto.app.v1.Image.deserializeBinary
  136. );
  137. /**
  138. * @param {!proto.app.v1.DefaultRequest} request The
  139. * request proto
  140. * @param {?Object<string, string>} metadata User defined
  141. * call metadata
  142. * @param {function(?grpc.web.RpcError, ?proto.app.v1.Image)}
  143. * callback The callback function(error, response)
  144. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.Image>|undefined}
  145. * The XHR Node Readable Stream
  146. */
  147. proto.app.v1.ApiAppClient.prototype.getVfPic =
  148. function(request, metadata, callback) {
  149. return this.client_.rpcCall(this.hostname_ +
  150. '/app.v1.ApiApp/GetVfPic',
  151. request,
  152. metadata || {},
  153. methodDescriptor_ApiApp_GetVfPic,
  154. callback);
  155. };
  156. /**
  157. * @param {!proto.app.v1.DefaultRequest} request The
  158. * request proto
  159. * @param {?Object<string, string>=} metadata User defined
  160. * call metadata
  161. * @return {!Promise<!proto.app.v1.Image>}
  162. * Promise that resolves to the response
  163. */
  164. proto.app.v1.ApiAppPromiseClient.prototype.getVfPic =
  165. function(request, metadata) {
  166. return this.client_.unaryCall(this.hostname_ +
  167. '/app.v1.ApiApp/GetVfPic',
  168. request,
  169. metadata || {},
  170. methodDescriptor_ApiApp_GetVfPic);
  171. };
  172. /**
  173. * @const
  174. * @type {!grpc.web.MethodDescriptor<
  175. * !proto.app.v1.SignOutRequest,
  176. * !proto.app.v1.DefaultReply>}
  177. */
  178. const methodDescriptor_ApiApp_SignOut = new grpc.web.MethodDescriptor(
  179. '/app.v1.ApiApp/SignOut',
  180. grpc.web.MethodType.UNARY,
  181. proto.app.v1.SignOutRequest,
  182. proto.app.v1.DefaultReply,
  183. /**
  184. * @param {!proto.app.v1.SignOutRequest} request
  185. * @return {!Uint8Array}
  186. */
  187. function(request) {
  188. return request.serializeBinary();
  189. },
  190. proto.app.v1.DefaultReply.deserializeBinary
  191. );
  192. /**
  193. * @param {!proto.app.v1.SignOutRequest} request The
  194. * request proto
  195. * @param {?Object<string, string>} metadata User defined
  196. * call metadata
  197. * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
  198. * callback The callback function(error, response)
  199. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
  200. * The XHR Node Readable Stream
  201. */
  202. proto.app.v1.ApiAppClient.prototype.signOut =
  203. function(request, metadata, callback) {
  204. return this.client_.rpcCall(this.hostname_ +
  205. '/app.v1.ApiApp/SignOut',
  206. request,
  207. metadata || {},
  208. methodDescriptor_ApiApp_SignOut,
  209. callback);
  210. };
  211. /**
  212. * @param {!proto.app.v1.SignOutRequest} request The
  213. * request proto
  214. * @param {?Object<string, string>=} metadata User defined
  215. * call metadata
  216. * @return {!Promise<!proto.app.v1.DefaultReply>}
  217. * Promise that resolves to the response
  218. */
  219. proto.app.v1.ApiAppPromiseClient.prototype.signOut =
  220. function(request, metadata) {
  221. return this.client_.unaryCall(this.hostname_ +
  222. '/app.v1.ApiApp/SignOut',
  223. request,
  224. metadata || {},
  225. methodDescriptor_ApiApp_SignOut);
  226. };
  227. /**
  228. * @const
  229. * @type {!grpc.web.MethodDescriptor<
  230. * !proto.app.v1.DefaultRequest,
  231. * !proto.app.v1.DefaultReply>}
  232. */
  233. const methodDescriptor_ApiApp_Unsubscribe = new grpc.web.MethodDescriptor(
  234. '/app.v1.ApiApp/Unsubscribe',
  235. grpc.web.MethodType.UNARY,
  236. proto.app.v1.DefaultRequest,
  237. proto.app.v1.DefaultReply,
  238. /**
  239. * @param {!proto.app.v1.DefaultRequest} request
  240. * @return {!Uint8Array}
  241. */
  242. function(request) {
  243. return request.serializeBinary();
  244. },
  245. proto.app.v1.DefaultReply.deserializeBinary
  246. );
  247. /**
  248. * @param {!proto.app.v1.DefaultRequest} request The
  249. * request proto
  250. * @param {?Object<string, string>} metadata User defined
  251. * call metadata
  252. * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
  253. * callback The callback function(error, response)
  254. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
  255. * The XHR Node Readable Stream
  256. */
  257. proto.app.v1.ApiAppClient.prototype.unsubscribe =
  258. function(request, metadata, callback) {
  259. return this.client_.rpcCall(this.hostname_ +
  260. '/app.v1.ApiApp/Unsubscribe',
  261. request,
  262. metadata || {},
  263. methodDescriptor_ApiApp_Unsubscribe,
  264. callback);
  265. };
  266. /**
  267. * @param {!proto.app.v1.DefaultRequest} request The
  268. * request proto
  269. * @param {?Object<string, string>=} metadata User defined
  270. * call metadata
  271. * @return {!Promise<!proto.app.v1.DefaultReply>}
  272. * Promise that resolves to the response
  273. */
  274. proto.app.v1.ApiAppPromiseClient.prototype.unsubscribe =
  275. function(request, metadata) {
  276. return this.client_.unaryCall(this.hostname_ +
  277. '/app.v1.ApiApp/Unsubscribe',
  278. request,
  279. metadata || {},
  280. methodDescriptor_ApiApp_Unsubscribe);
  281. };
  282. /**
  283. * @const
  284. * @type {!grpc.web.MethodDescriptor<
  285. * !proto.app.v1.SignInRequest,
  286. * !proto.app.v1.SignInReply>}
  287. */
  288. const methodDescriptor_ApiApp_SignIn = new grpc.web.MethodDescriptor(
  289. '/app.v1.ApiApp/SignIn',
  290. grpc.web.MethodType.UNARY,
  291. proto.app.v1.SignInRequest,
  292. proto.app.v1.SignInReply,
  293. /**
  294. * @param {!proto.app.v1.SignInRequest} request
  295. * @return {!Uint8Array}
  296. */
  297. function(request) {
  298. return request.serializeBinary();
  299. },
  300. proto.app.v1.SignInReply.deserializeBinary
  301. );
  302. /**
  303. * @param {!proto.app.v1.SignInRequest} request The
  304. * request proto
  305. * @param {?Object<string, string>} metadata User defined
  306. * call metadata
  307. * @param {function(?grpc.web.RpcError, ?proto.app.v1.SignInReply)}
  308. * callback The callback function(error, response)
  309. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.SignInReply>|undefined}
  310. * The XHR Node Readable Stream
  311. */
  312. proto.app.v1.ApiAppClient.prototype.signIn =
  313. function(request, metadata, callback) {
  314. return this.client_.rpcCall(this.hostname_ +
  315. '/app.v1.ApiApp/SignIn',
  316. request,
  317. metadata || {},
  318. methodDescriptor_ApiApp_SignIn,
  319. callback);
  320. };
  321. /**
  322. * @param {!proto.app.v1.SignInRequest} request The
  323. * request proto
  324. * @param {?Object<string, string>=} metadata User defined
  325. * call metadata
  326. * @return {!Promise<!proto.app.v1.SignInReply>}
  327. * Promise that resolves to the response
  328. */
  329. proto.app.v1.ApiAppPromiseClient.prototype.signIn =
  330. function(request, metadata) {
  331. return this.client_.unaryCall(this.hostname_ +
  332. '/app.v1.ApiApp/SignIn',
  333. request,
  334. metadata || {},
  335. methodDescriptor_ApiApp_SignIn);
  336. };
  337. /**
  338. * @const
  339. * @type {!grpc.web.MethodDescriptor<
  340. * !proto.app.v1.SignUpRequest,
  341. * !proto.app.v1.SignInReply>}
  342. */
  343. const methodDescriptor_ApiApp_SignUp = new grpc.web.MethodDescriptor(
  344. '/app.v1.ApiApp/SignUp',
  345. grpc.web.MethodType.UNARY,
  346. proto.app.v1.SignUpRequest,
  347. proto.app.v1.SignInReply,
  348. /**
  349. * @param {!proto.app.v1.SignUpRequest} request
  350. * @return {!Uint8Array}
  351. */
  352. function(request) {
  353. return request.serializeBinary();
  354. },
  355. proto.app.v1.SignInReply.deserializeBinary
  356. );
  357. /**
  358. * @param {!proto.app.v1.SignUpRequest} request The
  359. * request proto
  360. * @param {?Object<string, string>} metadata User defined
  361. * call metadata
  362. * @param {function(?grpc.web.RpcError, ?proto.app.v1.SignInReply)}
  363. * callback The callback function(error, response)
  364. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.SignInReply>|undefined}
  365. * The XHR Node Readable Stream
  366. */
  367. proto.app.v1.ApiAppClient.prototype.signUp =
  368. function(request, metadata, callback) {
  369. return this.client_.rpcCall(this.hostname_ +
  370. '/app.v1.ApiApp/SignUp',
  371. request,
  372. metadata || {},
  373. methodDescriptor_ApiApp_SignUp,
  374. callback);
  375. };
  376. /**
  377. * @param {!proto.app.v1.SignUpRequest} request The
  378. * request proto
  379. * @param {?Object<string, string>=} metadata User defined
  380. * call metadata
  381. * @return {!Promise<!proto.app.v1.SignInReply>}
  382. * Promise that resolves to the response
  383. */
  384. proto.app.v1.ApiAppPromiseClient.prototype.signUp =
  385. function(request, metadata) {
  386. return this.client_.unaryCall(this.hostname_ +
  387. '/app.v1.ApiApp/SignUp',
  388. request,
  389. metadata || {},
  390. methodDescriptor_ApiApp_SignUp);
  391. };
  392. /**
  393. * @const
  394. * @type {!grpc.web.MethodDescriptor<
  395. * !proto.app.v1.UserNameEditRequest,
  396. * !proto.app.v1.DefaultReply>}
  397. */
  398. const methodDescriptor_ApiApp_UserNameEdit = new grpc.web.MethodDescriptor(
  399. '/app.v1.ApiApp/UserNameEdit',
  400. grpc.web.MethodType.UNARY,
  401. proto.app.v1.UserNameEditRequest,
  402. proto.app.v1.DefaultReply,
  403. /**
  404. * @param {!proto.app.v1.UserNameEditRequest} request
  405. * @return {!Uint8Array}
  406. */
  407. function(request) {
  408. return request.serializeBinary();
  409. },
  410. proto.app.v1.DefaultReply.deserializeBinary
  411. );
  412. /**
  413. * @param {!proto.app.v1.UserNameEditRequest} request The
  414. * request proto
  415. * @param {?Object<string, string>} metadata User defined
  416. * call metadata
  417. * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
  418. * callback The callback function(error, response)
  419. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
  420. * The XHR Node Readable Stream
  421. */
  422. proto.app.v1.ApiAppClient.prototype.userNameEdit =
  423. function(request, metadata, callback) {
  424. return this.client_.rpcCall(this.hostname_ +
  425. '/app.v1.ApiApp/UserNameEdit',
  426. request,
  427. metadata || {},
  428. methodDescriptor_ApiApp_UserNameEdit,
  429. callback);
  430. };
  431. /**
  432. * @param {!proto.app.v1.UserNameEditRequest} request The
  433. * request proto
  434. * @param {?Object<string, string>=} metadata User defined
  435. * call metadata
  436. * @return {!Promise<!proto.app.v1.DefaultReply>}
  437. * Promise that resolves to the response
  438. */
  439. proto.app.v1.ApiAppPromiseClient.prototype.userNameEdit =
  440. function(request, metadata) {
  441. return this.client_.unaryCall(this.hostname_ +
  442. '/app.v1.ApiApp/UserNameEdit',
  443. request,
  444. metadata || {},
  445. methodDescriptor_ApiApp_UserNameEdit);
  446. };
  447. /**
  448. * @const
  449. * @type {!grpc.web.MethodDescriptor<
  450. * !proto.app.v1.ProviderListRequest,
  451. * !proto.app.v1.ProviderListReply>}
  452. */
  453. const methodDescriptor_ApiApp_ProviderList = new grpc.web.MethodDescriptor(
  454. '/app.v1.ApiApp/ProviderList',
  455. grpc.web.MethodType.UNARY,
  456. proto.app.v1.ProviderListRequest,
  457. proto.app.v1.ProviderListReply,
  458. /**
  459. * @param {!proto.app.v1.ProviderListRequest} request
  460. * @return {!Uint8Array}
  461. */
  462. function(request) {
  463. return request.serializeBinary();
  464. },
  465. proto.app.v1.ProviderListReply.deserializeBinary
  466. );
  467. /**
  468. * @param {!proto.app.v1.ProviderListRequest} request The
  469. * request proto
  470. * @param {?Object<string, string>} metadata User defined
  471. * call metadata
  472. * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProviderListReply)}
  473. * callback The callback function(error, response)
  474. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProviderListReply>|undefined}
  475. * The XHR Node Readable Stream
  476. */
  477. proto.app.v1.ApiAppClient.prototype.providerList =
  478. function(request, metadata, callback) {
  479. return this.client_.rpcCall(this.hostname_ +
  480. '/app.v1.ApiApp/ProviderList',
  481. request,
  482. metadata || {},
  483. methodDescriptor_ApiApp_ProviderList,
  484. callback);
  485. };
  486. /**
  487. * @param {!proto.app.v1.ProviderListRequest} request The
  488. * request proto
  489. * @param {?Object<string, string>=} metadata User defined
  490. * call metadata
  491. * @return {!Promise<!proto.app.v1.ProviderListReply>}
  492. * Promise that resolves to the response
  493. */
  494. proto.app.v1.ApiAppPromiseClient.prototype.providerList =
  495. function(request, metadata) {
  496. return this.client_.unaryCall(this.hostname_ +
  497. '/app.v1.ApiApp/ProviderList',
  498. request,
  499. metadata || {},
  500. methodDescriptor_ApiApp_ProviderList);
  501. };
  502. /**
  503. * @const
  504. * @type {!grpc.web.MethodDescriptor<
  505. * !proto.app.v1.IdRequest,
  506. * !proto.app.v1.ProviderDetailReply>}
  507. */
  508. const methodDescriptor_ApiApp_ProviderDetail = new grpc.web.MethodDescriptor(
  509. '/app.v1.ApiApp/ProviderDetail',
  510. grpc.web.MethodType.UNARY,
  511. proto.app.v1.IdRequest,
  512. proto.app.v1.ProviderDetailReply,
  513. /**
  514. * @param {!proto.app.v1.IdRequest} request
  515. * @return {!Uint8Array}
  516. */
  517. function(request) {
  518. return request.serializeBinary();
  519. },
  520. proto.app.v1.ProviderDetailReply.deserializeBinary
  521. );
  522. /**
  523. * @param {!proto.app.v1.IdRequest} request The
  524. * request proto
  525. * @param {?Object<string, string>} metadata User defined
  526. * call metadata
  527. * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProviderDetailReply)}
  528. * callback The callback function(error, response)
  529. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProviderDetailReply>|undefined}
  530. * The XHR Node Readable Stream
  531. */
  532. proto.app.v1.ApiAppClient.prototype.providerDetail =
  533. function(request, metadata, callback) {
  534. return this.client_.rpcCall(this.hostname_ +
  535. '/app.v1.ApiApp/ProviderDetail',
  536. request,
  537. metadata || {},
  538. methodDescriptor_ApiApp_ProviderDetail,
  539. callback);
  540. };
  541. /**
  542. * @param {!proto.app.v1.IdRequest} request The
  543. * request proto
  544. * @param {?Object<string, string>=} metadata User defined
  545. * call metadata
  546. * @return {!Promise<!proto.app.v1.ProviderDetailReply>}
  547. * Promise that resolves to the response
  548. */
  549. proto.app.v1.ApiAppPromiseClient.prototype.providerDetail =
  550. function(request, metadata) {
  551. return this.client_.unaryCall(this.hostname_ +
  552. '/app.v1.ApiApp/ProviderDetail',
  553. request,
  554. metadata || {},
  555. methodDescriptor_ApiApp_ProviderDetail);
  556. };
  557. /**
  558. * @const
  559. * @type {!grpc.web.MethodDescriptor<
  560. * !proto.app.v1.PositionRequest,
  561. * !proto.app.v1.ProjectListReply>}
  562. */
  563. const methodDescriptor_ApiApp_ProjectListByPosition = new grpc.web.MethodDescriptor(
  564. '/app.v1.ApiApp/ProjectListByPosition',
  565. grpc.web.MethodType.UNARY,
  566. proto.app.v1.PositionRequest,
  567. proto.app.v1.ProjectListReply,
  568. /**
  569. * @param {!proto.app.v1.PositionRequest} request
  570. * @return {!Uint8Array}
  571. */
  572. function(request) {
  573. return request.serializeBinary();
  574. },
  575. proto.app.v1.ProjectListReply.deserializeBinary
  576. );
  577. /**
  578. * @param {!proto.app.v1.PositionRequest} request The
  579. * request proto
  580. * @param {?Object<string, string>} metadata User defined
  581. * call metadata
  582. * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProjectListReply)}
  583. * callback The callback function(error, response)
  584. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProjectListReply>|undefined}
  585. * The XHR Node Readable Stream
  586. */
  587. proto.app.v1.ApiAppClient.prototype.projectListByPosition =
  588. function(request, metadata, callback) {
  589. return this.client_.rpcCall(this.hostname_ +
  590. '/app.v1.ApiApp/ProjectListByPosition',
  591. request,
  592. metadata || {},
  593. methodDescriptor_ApiApp_ProjectListByPosition,
  594. callback);
  595. };
  596. /**
  597. * @param {!proto.app.v1.PositionRequest} request The
  598. * request proto
  599. * @param {?Object<string, string>=} metadata User defined
  600. * call metadata
  601. * @return {!Promise<!proto.app.v1.ProjectListReply>}
  602. * Promise that resolves to the response
  603. */
  604. proto.app.v1.ApiAppPromiseClient.prototype.projectListByPosition =
  605. function(request, metadata) {
  606. return this.client_.unaryCall(this.hostname_ +
  607. '/app.v1.ApiApp/ProjectListByPosition',
  608. request,
  609. metadata || {},
  610. methodDescriptor_ApiApp_ProjectListByPosition);
  611. };
  612. /**
  613. * @const
  614. * @type {!grpc.web.MethodDescriptor<
  615. * !proto.app.v1.IdRequest,
  616. * !proto.app.v1.ProjectListReply>}
  617. */
  618. const methodDescriptor_ApiApp_ProjectListByProvider = new grpc.web.MethodDescriptor(
  619. '/app.v1.ApiApp/ProjectListByProvider',
  620. grpc.web.MethodType.UNARY,
  621. proto.app.v1.IdRequest,
  622. proto.app.v1.ProjectListReply,
  623. /**
  624. * @param {!proto.app.v1.IdRequest} request
  625. * @return {!Uint8Array}
  626. */
  627. function(request) {
  628. return request.serializeBinary();
  629. },
  630. proto.app.v1.ProjectListReply.deserializeBinary
  631. );
  632. /**
  633. * @param {!proto.app.v1.IdRequest} request The
  634. * request proto
  635. * @param {?Object<string, string>} metadata User defined
  636. * call metadata
  637. * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProjectListReply)}
  638. * callback The callback function(error, response)
  639. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProjectListReply>|undefined}
  640. * The XHR Node Readable Stream
  641. */
  642. proto.app.v1.ApiAppClient.prototype.projectListByProvider =
  643. function(request, metadata, callback) {
  644. return this.client_.rpcCall(this.hostname_ +
  645. '/app.v1.ApiApp/ProjectListByProvider',
  646. request,
  647. metadata || {},
  648. methodDescriptor_ApiApp_ProjectListByProvider,
  649. callback);
  650. };
  651. /**
  652. * @param {!proto.app.v1.IdRequest} request The
  653. * request proto
  654. * @param {?Object<string, string>=} metadata User defined
  655. * call metadata
  656. * @return {!Promise<!proto.app.v1.ProjectListReply>}
  657. * Promise that resolves to the response
  658. */
  659. proto.app.v1.ApiAppPromiseClient.prototype.projectListByProvider =
  660. function(request, metadata) {
  661. return this.client_.unaryCall(this.hostname_ +
  662. '/app.v1.ApiApp/ProjectListByProvider',
  663. request,
  664. metadata || {},
  665. methodDescriptor_ApiApp_ProjectListByProvider);
  666. };
  667. /**
  668. * @const
  669. * @type {!grpc.web.MethodDescriptor<
  670. * !proto.app.v1.IdRequest,
  671. * !proto.app.v1.ProjectDetailReply>}
  672. */
  673. const methodDescriptor_ApiApp_ProjectDetail = new grpc.web.MethodDescriptor(
  674. '/app.v1.ApiApp/ProjectDetail',
  675. grpc.web.MethodType.UNARY,
  676. proto.app.v1.IdRequest,
  677. proto.app.v1.ProjectDetailReply,
  678. /**
  679. * @param {!proto.app.v1.IdRequest} request
  680. * @return {!Uint8Array}
  681. */
  682. function(request) {
  683. return request.serializeBinary();
  684. },
  685. proto.app.v1.ProjectDetailReply.deserializeBinary
  686. );
  687. /**
  688. * @param {!proto.app.v1.IdRequest} request The
  689. * request proto
  690. * @param {?Object<string, string>} metadata User defined
  691. * call metadata
  692. * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProjectDetailReply)}
  693. * callback The callback function(error, response)
  694. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProjectDetailReply>|undefined}
  695. * The XHR Node Readable Stream
  696. */
  697. proto.app.v1.ApiAppClient.prototype.projectDetail =
  698. function(request, metadata, callback) {
  699. return this.client_.rpcCall(this.hostname_ +
  700. '/app.v1.ApiApp/ProjectDetail',
  701. request,
  702. metadata || {},
  703. methodDescriptor_ApiApp_ProjectDetail,
  704. callback);
  705. };
  706. /**
  707. * @param {!proto.app.v1.IdRequest} request The
  708. * request proto
  709. * @param {?Object<string, string>=} metadata User defined
  710. * call metadata
  711. * @return {!Promise<!proto.app.v1.ProjectDetailReply>}
  712. * Promise that resolves to the response
  713. */
  714. proto.app.v1.ApiAppPromiseClient.prototype.projectDetail =
  715. function(request, metadata) {
  716. return this.client_.unaryCall(this.hostname_ +
  717. '/app.v1.ApiApp/ProjectDetail',
  718. request,
  719. metadata || {},
  720. methodDescriptor_ApiApp_ProjectDetail);
  721. };
  722. /**
  723. * @const
  724. * @type {!grpc.web.MethodDescriptor<
  725. * !proto.app.v1.GameStartRequest,
  726. * !proto.app.v1.GameStartReply>}
  727. */
  728. const methodDescriptor_ApiApp_GameStart = new grpc.web.MethodDescriptor(
  729. '/app.v1.ApiApp/GameStart',
  730. grpc.web.MethodType.UNARY,
  731. proto.app.v1.GameStartRequest,
  732. proto.app.v1.GameStartReply,
  733. /**
  734. * @param {!proto.app.v1.GameStartRequest} request
  735. * @return {!Uint8Array}
  736. */
  737. function(request) {
  738. return request.serializeBinary();
  739. },
  740. proto.app.v1.GameStartReply.deserializeBinary
  741. );
  742. /**
  743. * @param {!proto.app.v1.GameStartRequest} request The
  744. * request proto
  745. * @param {?Object<string, string>} metadata User defined
  746. * call metadata
  747. * @param {function(?grpc.web.RpcError, ?proto.app.v1.GameStartReply)}
  748. * callback The callback function(error, response)
  749. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GameStartReply>|undefined}
  750. * The XHR Node Readable Stream
  751. */
  752. proto.app.v1.ApiAppClient.prototype.gameStart =
  753. function(request, metadata, callback) {
  754. return this.client_.rpcCall(this.hostname_ +
  755. '/app.v1.ApiApp/GameStart',
  756. request,
  757. metadata || {},
  758. methodDescriptor_ApiApp_GameStart,
  759. callback);
  760. };
  761. /**
  762. * @param {!proto.app.v1.GameStartRequest} request The
  763. * request proto
  764. * @param {?Object<string, string>=} metadata User defined
  765. * call metadata
  766. * @return {!Promise<!proto.app.v1.GameStartReply>}
  767. * Promise that resolves to the response
  768. */
  769. proto.app.v1.ApiAppPromiseClient.prototype.gameStart =
  770. function(request, metadata) {
  771. return this.client_.unaryCall(this.hostname_ +
  772. '/app.v1.ApiApp/GameStart',
  773. request,
  774. metadata || {},
  775. methodDescriptor_ApiApp_GameStart);
  776. };
  777. /**
  778. * @const
  779. * @type {!grpc.web.MethodDescriptor<
  780. * !proto.app.v1.GameSaveUploadRequest,
  781. * !proto.app.v1.DefaultReply>}
  782. */
  783. const methodDescriptor_ApiApp_GameSaveUpload = new grpc.web.MethodDescriptor(
  784. '/app.v1.ApiApp/GameSaveUpload',
  785. grpc.web.MethodType.UNARY,
  786. proto.app.v1.GameSaveUploadRequest,
  787. proto.app.v1.DefaultReply,
  788. /**
  789. * @param {!proto.app.v1.GameSaveUploadRequest} request
  790. * @return {!Uint8Array}
  791. */
  792. function(request) {
  793. return request.serializeBinary();
  794. },
  795. proto.app.v1.DefaultReply.deserializeBinary
  796. );
  797. /**
  798. * @param {!proto.app.v1.GameSaveUploadRequest} request The
  799. * request proto
  800. * @param {?Object<string, string>} metadata User defined
  801. * call metadata
  802. * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
  803. * callback The callback function(error, response)
  804. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
  805. * The XHR Node Readable Stream
  806. */
  807. proto.app.v1.ApiAppClient.prototype.gameSaveUpload =
  808. function(request, metadata, callback) {
  809. return this.client_.rpcCall(this.hostname_ +
  810. '/app.v1.ApiApp/GameSaveUpload',
  811. request,
  812. metadata || {},
  813. methodDescriptor_ApiApp_GameSaveUpload,
  814. callback);
  815. };
  816. /**
  817. * @param {!proto.app.v1.GameSaveUploadRequest} request The
  818. * request proto
  819. * @param {?Object<string, string>=} metadata User defined
  820. * call metadata
  821. * @return {!Promise<!proto.app.v1.DefaultReply>}
  822. * Promise that resolves to the response
  823. */
  824. proto.app.v1.ApiAppPromiseClient.prototype.gameSaveUpload =
  825. function(request, metadata) {
  826. return this.client_.unaryCall(this.hostname_ +
  827. '/app.v1.ApiApp/GameSaveUpload',
  828. request,
  829. metadata || {},
  830. methodDescriptor_ApiApp_GameSaveUpload);
  831. };
  832. /**
  833. * @const
  834. * @type {!grpc.web.MethodDescriptor<
  835. * !proto.app.v1.GameFinishRequest,
  836. * !proto.app.v1.GameDetailReply>}
  837. */
  838. const methodDescriptor_ApiApp_GameFinish = new grpc.web.MethodDescriptor(
  839. '/app.v1.ApiApp/GameFinish',
  840. grpc.web.MethodType.UNARY,
  841. proto.app.v1.GameFinishRequest,
  842. proto.app.v1.GameDetailReply,
  843. /**
  844. * @param {!proto.app.v1.GameFinishRequest} request
  845. * @return {!Uint8Array}
  846. */
  847. function(request) {
  848. return request.serializeBinary();
  849. },
  850. proto.app.v1.GameDetailReply.deserializeBinary
  851. );
  852. /**
  853. * @param {!proto.app.v1.GameFinishRequest} request The
  854. * request proto
  855. * @param {?Object<string, string>} metadata User defined
  856. * call metadata
  857. * @param {function(?grpc.web.RpcError, ?proto.app.v1.GameDetailReply)}
  858. * callback The callback function(error, response)
  859. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GameDetailReply>|undefined}
  860. * The XHR Node Readable Stream
  861. */
  862. proto.app.v1.ApiAppClient.prototype.gameFinish =
  863. function(request, metadata, callback) {
  864. return this.client_.rpcCall(this.hostname_ +
  865. '/app.v1.ApiApp/GameFinish',
  866. request,
  867. metadata || {},
  868. methodDescriptor_ApiApp_GameFinish,
  869. callback);
  870. };
  871. /**
  872. * @param {!proto.app.v1.GameFinishRequest} request The
  873. * request proto
  874. * @param {?Object<string, string>=} metadata User defined
  875. * call metadata
  876. * @return {!Promise<!proto.app.v1.GameDetailReply>}
  877. * Promise that resolves to the response
  878. */
  879. proto.app.v1.ApiAppPromiseClient.prototype.gameFinish =
  880. function(request, metadata) {
  881. return this.client_.unaryCall(this.hostname_ +
  882. '/app.v1.ApiApp/GameFinish',
  883. request,
  884. metadata || {},
  885. methodDescriptor_ApiApp_GameFinish);
  886. };
  887. /**
  888. * @const
  889. * @type {!grpc.web.MethodDescriptor<
  890. * !proto.app.v1.DefaultRequest,
  891. * !proto.app.v1.Region>}
  892. */
  893. const methodDescriptor_ApiApp_GetRegion = new grpc.web.MethodDescriptor(
  894. '/app.v1.ApiApp/GetRegion',
  895. grpc.web.MethodType.UNARY,
  896. proto.app.v1.DefaultRequest,
  897. proto.app.v1.Region,
  898. /**
  899. * @param {!proto.app.v1.DefaultRequest} request
  900. * @return {!Uint8Array}
  901. */
  902. function(request) {
  903. return request.serializeBinary();
  904. },
  905. proto.app.v1.Region.deserializeBinary
  906. );
  907. /**
  908. * @param {!proto.app.v1.DefaultRequest} request The
  909. * request proto
  910. * @param {?Object<string, string>} metadata User defined
  911. * call metadata
  912. * @param {function(?grpc.web.RpcError, ?proto.app.v1.Region)}
  913. * callback The callback function(error, response)
  914. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.Region>|undefined}
  915. * The XHR Node Readable Stream
  916. */
  917. proto.app.v1.ApiAppClient.prototype.getRegion =
  918. function(request, metadata, callback) {
  919. return this.client_.rpcCall(this.hostname_ +
  920. '/app.v1.ApiApp/GetRegion',
  921. request,
  922. metadata || {},
  923. methodDescriptor_ApiApp_GetRegion,
  924. callback);
  925. };
  926. /**
  927. * @param {!proto.app.v1.DefaultRequest} request The
  928. * request proto
  929. * @param {?Object<string, string>=} metadata User defined
  930. * call metadata
  931. * @return {!Promise<!proto.app.v1.Region>}
  932. * Promise that resolves to the response
  933. */
  934. proto.app.v1.ApiAppPromiseClient.prototype.getRegion =
  935. function(request, metadata) {
  936. return this.client_.unaryCall(this.hostname_ +
  937. '/app.v1.ApiApp/GetRegion',
  938. request,
  939. metadata || {},
  940. methodDescriptor_ApiApp_GetRegion);
  941. };
  942. /**
  943. * @const
  944. * @type {!grpc.web.MethodDescriptor<
  945. * !proto.app.v1.RegionListRequest,
  946. * !proto.app.v1.RegionListReply>}
  947. */
  948. const methodDescriptor_ApiApp_RegionList = new grpc.web.MethodDescriptor(
  949. '/app.v1.ApiApp/RegionList',
  950. grpc.web.MethodType.UNARY,
  951. proto.app.v1.RegionListRequest,
  952. proto.app.v1.RegionListReply,
  953. /**
  954. * @param {!proto.app.v1.RegionListRequest} request
  955. * @return {!Uint8Array}
  956. */
  957. function(request) {
  958. return request.serializeBinary();
  959. },
  960. proto.app.v1.RegionListReply.deserializeBinary
  961. );
  962. /**
  963. * @param {!proto.app.v1.RegionListRequest} request The
  964. * request proto
  965. * @param {?Object<string, string>} metadata User defined
  966. * call metadata
  967. * @param {function(?grpc.web.RpcError, ?proto.app.v1.RegionListReply)}
  968. * callback The callback function(error, response)
  969. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.RegionListReply>|undefined}
  970. * The XHR Node Readable Stream
  971. */
  972. proto.app.v1.ApiAppClient.prototype.regionList =
  973. function(request, metadata, callback) {
  974. return this.client_.rpcCall(this.hostname_ +
  975. '/app.v1.ApiApp/RegionList',
  976. request,
  977. metadata || {},
  978. methodDescriptor_ApiApp_RegionList,
  979. callback);
  980. };
  981. /**
  982. * @param {!proto.app.v1.RegionListRequest} request The
  983. * request proto
  984. * @param {?Object<string, string>=} metadata User defined
  985. * call metadata
  986. * @return {!Promise<!proto.app.v1.RegionListReply>}
  987. * Promise that resolves to the response
  988. */
  989. proto.app.v1.ApiAppPromiseClient.prototype.regionList =
  990. function(request, metadata) {
  991. return this.client_.unaryCall(this.hostname_ +
  992. '/app.v1.ApiApp/RegionList',
  993. request,
  994. metadata || {},
  995. methodDescriptor_ApiApp_RegionList);
  996. };
  997. /**
  998. * @const
  999. * @type {!grpc.web.MethodDescriptor<
  1000. * !proto.app.v1.DefaultRequest,
  1001. * !proto.app.v1.GetInGameDataReply>}
  1002. */
  1003. const methodDescriptor_ApiApp_GetInGameData = new grpc.web.MethodDescriptor(
  1004. '/app.v1.ApiApp/GetInGameData',
  1005. grpc.web.MethodType.UNARY,
  1006. proto.app.v1.DefaultRequest,
  1007. proto.app.v1.GetInGameDataReply,
  1008. /**
  1009. * @param {!proto.app.v1.DefaultRequest} request
  1010. * @return {!Uint8Array}
  1011. */
  1012. function(request) {
  1013. return request.serializeBinary();
  1014. },
  1015. proto.app.v1.GetInGameDataReply.deserializeBinary
  1016. );
  1017. /**
  1018. * @param {!proto.app.v1.DefaultRequest} request The
  1019. * request proto
  1020. * @param {?Object<string, string>} metadata User defined
  1021. * call metadata
  1022. * @param {function(?grpc.web.RpcError, ?proto.app.v1.GetInGameDataReply)}
  1023. * callback The callback function(error, response)
  1024. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GetInGameDataReply>|undefined}
  1025. * The XHR Node Readable Stream
  1026. */
  1027. proto.app.v1.ApiAppClient.prototype.getInGameData =
  1028. function(request, metadata, callback) {
  1029. return this.client_.rpcCall(this.hostname_ +
  1030. '/app.v1.ApiApp/GetInGameData',
  1031. request,
  1032. metadata || {},
  1033. methodDescriptor_ApiApp_GetInGameData,
  1034. callback);
  1035. };
  1036. /**
  1037. * @param {!proto.app.v1.DefaultRequest} request The
  1038. * request proto
  1039. * @param {?Object<string, string>=} metadata User defined
  1040. * call metadata
  1041. * @return {!Promise<!proto.app.v1.GetInGameDataReply>}
  1042. * Promise that resolves to the response
  1043. */
  1044. proto.app.v1.ApiAppPromiseClient.prototype.getInGameData =
  1045. function(request, metadata) {
  1046. return this.client_.unaryCall(this.hostname_ +
  1047. '/app.v1.ApiApp/GetInGameData',
  1048. request,
  1049. metadata || {},
  1050. methodDescriptor_ApiApp_GetInGameData);
  1051. };
  1052. /**
  1053. * @const
  1054. * @type {!grpc.web.MethodDescriptor<
  1055. * !proto.app.v1.DefaultRequest,
  1056. * !proto.app.v1.GetServerTimeReply>}
  1057. */
  1058. const methodDescriptor_ApiApp_GetServerTime = new grpc.web.MethodDescriptor(
  1059. '/app.v1.ApiApp/GetServerTime',
  1060. grpc.web.MethodType.UNARY,
  1061. proto.app.v1.DefaultRequest,
  1062. proto.app.v1.GetServerTimeReply,
  1063. /**
  1064. * @param {!proto.app.v1.DefaultRequest} request
  1065. * @return {!Uint8Array}
  1066. */
  1067. function(request) {
  1068. return request.serializeBinary();
  1069. },
  1070. proto.app.v1.GetServerTimeReply.deserializeBinary
  1071. );
  1072. /**
  1073. * @param {!proto.app.v1.DefaultRequest} request The
  1074. * request proto
  1075. * @param {?Object<string, string>} metadata User defined
  1076. * call metadata
  1077. * @param {function(?grpc.web.RpcError, ?proto.app.v1.GetServerTimeReply)}
  1078. * callback The callback function(error, response)
  1079. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GetServerTimeReply>|undefined}
  1080. * The XHR Node Readable Stream
  1081. */
  1082. proto.app.v1.ApiAppClient.prototype.getServerTime =
  1083. function(request, metadata, callback) {
  1084. return this.client_.rpcCall(this.hostname_ +
  1085. '/app.v1.ApiApp/GetServerTime',
  1086. request,
  1087. metadata || {},
  1088. methodDescriptor_ApiApp_GetServerTime,
  1089. callback);
  1090. };
  1091. /**
  1092. * @param {!proto.app.v1.DefaultRequest} request The
  1093. * request proto
  1094. * @param {?Object<string, string>=} metadata User defined
  1095. * call metadata
  1096. * @return {!Promise<!proto.app.v1.GetServerTimeReply>}
  1097. * Promise that resolves to the response
  1098. */
  1099. proto.app.v1.ApiAppPromiseClient.prototype.getServerTime =
  1100. function(request, metadata) {
  1101. return this.client_.unaryCall(this.hostname_ +
  1102. '/app.v1.ApiApp/GetServerTime',
  1103. request,
  1104. metadata || {},
  1105. methodDescriptor_ApiApp_GetServerTime);
  1106. };
  1107. /**
  1108. * @const
  1109. * @type {!grpc.web.MethodDescriptor<
  1110. * !proto.app.v1.GetSmsSendLeftTimeRequest,
  1111. * !proto.app.v1.GetSmsSendLeftTimeReply>}
  1112. */
  1113. const methodDescriptor_ApiApp_GetSmsSendLeftTime = new grpc.web.MethodDescriptor(
  1114. '/app.v1.ApiApp/GetSmsSendLeftTime',
  1115. grpc.web.MethodType.UNARY,
  1116. proto.app.v1.GetSmsSendLeftTimeRequest,
  1117. proto.app.v1.GetSmsSendLeftTimeReply,
  1118. /**
  1119. * @param {!proto.app.v1.GetSmsSendLeftTimeRequest} request
  1120. * @return {!Uint8Array}
  1121. */
  1122. function(request) {
  1123. return request.serializeBinary();
  1124. },
  1125. proto.app.v1.GetSmsSendLeftTimeReply.deserializeBinary
  1126. );
  1127. /**
  1128. * @param {!proto.app.v1.GetSmsSendLeftTimeRequest} request The
  1129. * request proto
  1130. * @param {?Object<string, string>} metadata User defined
  1131. * call metadata
  1132. * @param {function(?grpc.web.RpcError, ?proto.app.v1.GetSmsSendLeftTimeReply)}
  1133. * callback The callback function(error, response)
  1134. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GetSmsSendLeftTimeReply>|undefined}
  1135. * The XHR Node Readable Stream
  1136. */
  1137. proto.app.v1.ApiAppClient.prototype.getSmsSendLeftTime =
  1138. function(request, metadata, callback) {
  1139. return this.client_.rpcCall(this.hostname_ +
  1140. '/app.v1.ApiApp/GetSmsSendLeftTime',
  1141. request,
  1142. metadata || {},
  1143. methodDescriptor_ApiApp_GetSmsSendLeftTime,
  1144. callback);
  1145. };
  1146. /**
  1147. * @param {!proto.app.v1.GetSmsSendLeftTimeRequest} request The
  1148. * request proto
  1149. * @param {?Object<string, string>=} metadata User defined
  1150. * call metadata
  1151. * @return {!Promise<!proto.app.v1.GetSmsSendLeftTimeReply>}
  1152. * Promise that resolves to the response
  1153. */
  1154. proto.app.v1.ApiAppPromiseClient.prototype.getSmsSendLeftTime =
  1155. function(request, metadata) {
  1156. return this.client_.unaryCall(this.hostname_ +
  1157. '/app.v1.ApiApp/GetSmsSendLeftTime',
  1158. request,
  1159. metadata || {},
  1160. methodDescriptor_ApiApp_GetSmsSendLeftTime);
  1161. };
  1162. /**
  1163. * @const
  1164. * @type {!grpc.web.MethodDescriptor<
  1165. * !proto.app.v1.GetUpdateVersionRequest,
  1166. * !proto.app.v1.GetUpdateVersionReply>}
  1167. */
  1168. const methodDescriptor_ApiApp_GetUpdateVersion = new grpc.web.MethodDescriptor(
  1169. '/app.v1.ApiApp/GetUpdateVersion',
  1170. grpc.web.MethodType.UNARY,
  1171. proto.app.v1.GetUpdateVersionRequest,
  1172. proto.app.v1.GetUpdateVersionReply,
  1173. /**
  1174. * @param {!proto.app.v1.GetUpdateVersionRequest} request
  1175. * @return {!Uint8Array}
  1176. */
  1177. function(request) {
  1178. return request.serializeBinary();
  1179. },
  1180. proto.app.v1.GetUpdateVersionReply.deserializeBinary
  1181. );
  1182. /**
  1183. * @param {!proto.app.v1.GetUpdateVersionRequest} request The
  1184. * request proto
  1185. * @param {?Object<string, string>} metadata User defined
  1186. * call metadata
  1187. * @param {function(?grpc.web.RpcError, ?proto.app.v1.GetUpdateVersionReply)}
  1188. * callback The callback function(error, response)
  1189. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GetUpdateVersionReply>|undefined}
  1190. * The XHR Node Readable Stream
  1191. */
  1192. proto.app.v1.ApiAppClient.prototype.getUpdateVersion =
  1193. function(request, metadata, callback) {
  1194. return this.client_.rpcCall(this.hostname_ +
  1195. '/app.v1.ApiApp/GetUpdateVersion',
  1196. request,
  1197. metadata || {},
  1198. methodDescriptor_ApiApp_GetUpdateVersion,
  1199. callback);
  1200. };
  1201. /**
  1202. * @param {!proto.app.v1.GetUpdateVersionRequest} request The
  1203. * request proto
  1204. * @param {?Object<string, string>=} metadata User defined
  1205. * call metadata
  1206. * @return {!Promise<!proto.app.v1.GetUpdateVersionReply>}
  1207. * Promise that resolves to the response
  1208. */
  1209. proto.app.v1.ApiAppPromiseClient.prototype.getUpdateVersion =
  1210. function(request, metadata) {
  1211. return this.client_.unaryCall(this.hostname_ +
  1212. '/app.v1.ApiApp/GetUpdateVersion',
  1213. request,
  1214. metadata || {},
  1215. methodDescriptor_ApiApp_GetUpdateVersion);
  1216. };
  1217. /**
  1218. * @const
  1219. * @type {!grpc.web.MethodDescriptor<
  1220. * !proto.app.v1.DefaultRequest,
  1221. * !proto.app.v1.MyHistoryGameReply>}
  1222. */
  1223. const methodDescriptor_ApiApp_MyHistoryGame = new grpc.web.MethodDescriptor(
  1224. '/app.v1.ApiApp/MyHistoryGame',
  1225. grpc.web.MethodType.UNARY,
  1226. proto.app.v1.DefaultRequest,
  1227. proto.app.v1.MyHistoryGameReply,
  1228. /**
  1229. * @param {!proto.app.v1.DefaultRequest} request
  1230. * @return {!Uint8Array}
  1231. */
  1232. function(request) {
  1233. return request.serializeBinary();
  1234. },
  1235. proto.app.v1.MyHistoryGameReply.deserializeBinary
  1236. );
  1237. /**
  1238. * @param {!proto.app.v1.DefaultRequest} request The
  1239. * request proto
  1240. * @param {?Object<string, string>} metadata User defined
  1241. * call metadata
  1242. * @param {function(?grpc.web.RpcError, ?proto.app.v1.MyHistoryGameReply)}
  1243. * callback The callback function(error, response)
  1244. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.MyHistoryGameReply>|undefined}
  1245. * The XHR Node Readable Stream
  1246. */
  1247. proto.app.v1.ApiAppClient.prototype.myHistoryGame =
  1248. function(request, metadata, callback) {
  1249. return this.client_.rpcCall(this.hostname_ +
  1250. '/app.v1.ApiApp/MyHistoryGame',
  1251. request,
  1252. metadata || {},
  1253. methodDescriptor_ApiApp_MyHistoryGame,
  1254. callback);
  1255. };
  1256. /**
  1257. * @param {!proto.app.v1.DefaultRequest} request The
  1258. * request proto
  1259. * @param {?Object<string, string>=} metadata User defined
  1260. * call metadata
  1261. * @return {!Promise<!proto.app.v1.MyHistoryGameReply>}
  1262. * Promise that resolves to the response
  1263. */
  1264. proto.app.v1.ApiAppPromiseClient.prototype.myHistoryGame =
  1265. function(request, metadata) {
  1266. return this.client_.unaryCall(this.hostname_ +
  1267. '/app.v1.ApiApp/MyHistoryGame',
  1268. request,
  1269. metadata || {},
  1270. methodDescriptor_ApiApp_MyHistoryGame);
  1271. };
  1272. /**
  1273. * @const
  1274. * @type {!grpc.web.MethodDescriptor<
  1275. * !proto.app.v1.IdRequest,
  1276. * !proto.app.v1.GameDetailReply>}
  1277. */
  1278. const methodDescriptor_ApiApp_HistoryGameDetail = new grpc.web.MethodDescriptor(
  1279. '/app.v1.ApiApp/HistoryGameDetail',
  1280. grpc.web.MethodType.UNARY,
  1281. proto.app.v1.IdRequest,
  1282. proto.app.v1.GameDetailReply,
  1283. /**
  1284. * @param {!proto.app.v1.IdRequest} request
  1285. * @return {!Uint8Array}
  1286. */
  1287. function(request) {
  1288. return request.serializeBinary();
  1289. },
  1290. proto.app.v1.GameDetailReply.deserializeBinary
  1291. );
  1292. /**
  1293. * @param {!proto.app.v1.IdRequest} request The
  1294. * request proto
  1295. * @param {?Object<string, string>} metadata User defined
  1296. * call metadata
  1297. * @param {function(?grpc.web.RpcError, ?proto.app.v1.GameDetailReply)}
  1298. * callback The callback function(error, response)
  1299. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GameDetailReply>|undefined}
  1300. * The XHR Node Readable Stream
  1301. */
  1302. proto.app.v1.ApiAppClient.prototype.historyGameDetail =
  1303. function(request, metadata, callback) {
  1304. return this.client_.rpcCall(this.hostname_ +
  1305. '/app.v1.ApiApp/HistoryGameDetail',
  1306. request,
  1307. metadata || {},
  1308. methodDescriptor_ApiApp_HistoryGameDetail,
  1309. callback);
  1310. };
  1311. /**
  1312. * @param {!proto.app.v1.IdRequest} request The
  1313. * request proto
  1314. * @param {?Object<string, string>=} metadata User defined
  1315. * call metadata
  1316. * @return {!Promise<!proto.app.v1.GameDetailReply>}
  1317. * Promise that resolves to the response
  1318. */
  1319. proto.app.v1.ApiAppPromiseClient.prototype.historyGameDetail =
  1320. function(request, metadata) {
  1321. return this.client_.unaryCall(this.hostname_ +
  1322. '/app.v1.ApiApp/HistoryGameDetail',
  1323. request,
  1324. metadata || {},
  1325. methodDescriptor_ApiApp_HistoryGameDetail);
  1326. };
  1327. /**
  1328. * @const
  1329. * @type {!grpc.web.MethodDescriptor<
  1330. * !proto.app.v1.DefaultRequest,
  1331. * !proto.app.v1.MyUserQueryReply>}
  1332. */
  1333. const methodDescriptor_ApiApp_MyUserQuery = new grpc.web.MethodDescriptor(
  1334. '/app.v1.ApiApp/MyUserQuery',
  1335. grpc.web.MethodType.UNARY,
  1336. proto.app.v1.DefaultRequest,
  1337. proto.app.v1.MyUserQueryReply,
  1338. /**
  1339. * @param {!proto.app.v1.DefaultRequest} request
  1340. * @return {!Uint8Array}
  1341. */
  1342. function(request) {
  1343. return request.serializeBinary();
  1344. },
  1345. proto.app.v1.MyUserQueryReply.deserializeBinary
  1346. );
  1347. /**
  1348. * @param {!proto.app.v1.DefaultRequest} request The
  1349. * request proto
  1350. * @param {?Object<string, string>} metadata User defined
  1351. * call metadata
  1352. * @param {function(?grpc.web.RpcError, ?proto.app.v1.MyUserQueryReply)}
  1353. * callback The callback function(error, response)
  1354. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.MyUserQueryReply>|undefined}
  1355. * The XHR Node Readable Stream
  1356. */
  1357. proto.app.v1.ApiAppClient.prototype.myUserQuery =
  1358. function(request, metadata, callback) {
  1359. return this.client_.rpcCall(this.hostname_ +
  1360. '/app.v1.ApiApp/MyUserQuery',
  1361. request,
  1362. metadata || {},
  1363. methodDescriptor_ApiApp_MyUserQuery,
  1364. callback);
  1365. };
  1366. /**
  1367. * @param {!proto.app.v1.DefaultRequest} request The
  1368. * request proto
  1369. * @param {?Object<string, string>=} metadata User defined
  1370. * call metadata
  1371. * @return {!Promise<!proto.app.v1.MyUserQueryReply>}
  1372. * Promise that resolves to the response
  1373. */
  1374. proto.app.v1.ApiAppPromiseClient.prototype.myUserQuery =
  1375. function(request, metadata) {
  1376. return this.client_.unaryCall(this.hostname_ +
  1377. '/app.v1.ApiApp/MyUserQuery',
  1378. request,
  1379. metadata || {},
  1380. methodDescriptor_ApiApp_MyUserQuery);
  1381. };
  1382. /**
  1383. * @const
  1384. * @type {!grpc.web.MethodDescriptor<
  1385. * !proto.app.v1.DefaultRequest,
  1386. * !proto.app.v1.AssShopListReply>}
  1387. */
  1388. const methodDescriptor_ApiApp_AssShopList = new grpc.web.MethodDescriptor(
  1389. '/app.v1.ApiApp/AssShopList',
  1390. grpc.web.MethodType.UNARY,
  1391. proto.app.v1.DefaultRequest,
  1392. proto.app.v1.AssShopListReply,
  1393. /**
  1394. * @param {!proto.app.v1.DefaultRequest} request
  1395. * @return {!Uint8Array}
  1396. */
  1397. function(request) {
  1398. return request.serializeBinary();
  1399. },
  1400. proto.app.v1.AssShopListReply.deserializeBinary
  1401. );
  1402. /**
  1403. * @param {!proto.app.v1.DefaultRequest} request The
  1404. * request proto
  1405. * @param {?Object<string, string>} metadata User defined
  1406. * call metadata
  1407. * @param {function(?grpc.web.RpcError, ?proto.app.v1.AssShopListReply)}
  1408. * callback The callback function(error, response)
  1409. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.AssShopListReply>|undefined}
  1410. * The XHR Node Readable Stream
  1411. */
  1412. proto.app.v1.ApiAppClient.prototype.assShopList =
  1413. function(request, metadata, callback) {
  1414. return this.client_.rpcCall(this.hostname_ +
  1415. '/app.v1.ApiApp/AssShopList',
  1416. request,
  1417. metadata || {},
  1418. methodDescriptor_ApiApp_AssShopList,
  1419. callback);
  1420. };
  1421. /**
  1422. * @param {!proto.app.v1.DefaultRequest} request The
  1423. * request proto
  1424. * @param {?Object<string, string>=} metadata User defined
  1425. * call metadata
  1426. * @return {!Promise<!proto.app.v1.AssShopListReply>}
  1427. * Promise that resolves to the response
  1428. */
  1429. proto.app.v1.ApiAppPromiseClient.prototype.assShopList =
  1430. function(request, metadata) {
  1431. return this.client_.unaryCall(this.hostname_ +
  1432. '/app.v1.ApiApp/AssShopList',
  1433. request,
  1434. metadata || {},
  1435. methodDescriptor_ApiApp_AssShopList);
  1436. };
  1437. /**
  1438. * @const
  1439. * @type {!grpc.web.MethodDescriptor<
  1440. * !proto.app.v1.IdRequest,
  1441. * !proto.app.v1.AssControlInfoListReply>}
  1442. */
  1443. const methodDescriptor_ApiApp_AssControlInfoList = new grpc.web.MethodDescriptor(
  1444. '/app.v1.ApiApp/AssControlInfoList',
  1445. grpc.web.MethodType.UNARY,
  1446. proto.app.v1.IdRequest,
  1447. proto.app.v1.AssControlInfoListReply,
  1448. /**
  1449. * @param {!proto.app.v1.IdRequest} request
  1450. * @return {!Uint8Array}
  1451. */
  1452. function(request) {
  1453. return request.serializeBinary();
  1454. },
  1455. proto.app.v1.AssControlInfoListReply.deserializeBinary
  1456. );
  1457. /**
  1458. * @param {!proto.app.v1.IdRequest} request The
  1459. * request proto
  1460. * @param {?Object<string, string>} metadata User defined
  1461. * call metadata
  1462. * @param {function(?grpc.web.RpcError, ?proto.app.v1.AssControlInfoListReply)}
  1463. * callback The callback function(error, response)
  1464. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.AssControlInfoListReply>|undefined}
  1465. * The XHR Node Readable Stream
  1466. */
  1467. proto.app.v1.ApiAppClient.prototype.assControlInfoList =
  1468. function(request, metadata, callback) {
  1469. return this.client_.rpcCall(this.hostname_ +
  1470. '/app.v1.ApiApp/AssControlInfoList',
  1471. request,
  1472. metadata || {},
  1473. methodDescriptor_ApiApp_AssControlInfoList,
  1474. callback);
  1475. };
  1476. /**
  1477. * @param {!proto.app.v1.IdRequest} request The
  1478. * request proto
  1479. * @param {?Object<string, string>=} metadata User defined
  1480. * call metadata
  1481. * @return {!Promise<!proto.app.v1.AssControlInfoListReply>}
  1482. * Promise that resolves to the response
  1483. */
  1484. proto.app.v1.ApiAppPromiseClient.prototype.assControlInfoList =
  1485. function(request, metadata) {
  1486. return this.client_.unaryCall(this.hostname_ +
  1487. '/app.v1.ApiApp/AssControlInfoList',
  1488. request,
  1489. metadata || {},
  1490. methodDescriptor_ApiApp_AssControlInfoList);
  1491. };
  1492. /**
  1493. * @const
  1494. * @type {!grpc.web.MethodDescriptor<
  1495. * !proto.app.v1.IdRequest,
  1496. * !proto.app.v1.AssControlInfoDetailReply>}
  1497. */
  1498. const methodDescriptor_ApiApp_AssControlInfoDetail = new grpc.web.MethodDescriptor(
  1499. '/app.v1.ApiApp/AssControlInfoDetail',
  1500. grpc.web.MethodType.UNARY,
  1501. proto.app.v1.IdRequest,
  1502. proto.app.v1.AssControlInfoDetailReply,
  1503. /**
  1504. * @param {!proto.app.v1.IdRequest} request
  1505. * @return {!Uint8Array}
  1506. */
  1507. function(request) {
  1508. return request.serializeBinary();
  1509. },
  1510. proto.app.v1.AssControlInfoDetailReply.deserializeBinary
  1511. );
  1512. /**
  1513. * @param {!proto.app.v1.IdRequest} request The
  1514. * request proto
  1515. * @param {?Object<string, string>} metadata User defined
  1516. * call metadata
  1517. * @param {function(?grpc.web.RpcError, ?proto.app.v1.AssControlInfoDetailReply)}
  1518. * callback The callback function(error, response)
  1519. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.AssControlInfoDetailReply>|undefined}
  1520. * The XHR Node Readable Stream
  1521. */
  1522. proto.app.v1.ApiAppClient.prototype.assControlInfoDetail =
  1523. function(request, metadata, callback) {
  1524. return this.client_.rpcCall(this.hostname_ +
  1525. '/app.v1.ApiApp/AssControlInfoDetail',
  1526. request,
  1527. metadata || {},
  1528. methodDescriptor_ApiApp_AssControlInfoDetail,
  1529. callback);
  1530. };
  1531. /**
  1532. * @param {!proto.app.v1.IdRequest} request The
  1533. * request proto
  1534. * @param {?Object<string, string>=} metadata User defined
  1535. * call metadata
  1536. * @return {!Promise<!proto.app.v1.AssControlInfoDetailReply>}
  1537. * Promise that resolves to the response
  1538. */
  1539. proto.app.v1.ApiAppPromiseClient.prototype.assControlInfoDetail =
  1540. function(request, metadata) {
  1541. return this.client_.unaryCall(this.hostname_ +
  1542. '/app.v1.ApiApp/AssControlInfoDetail',
  1543. request,
  1544. metadata || {},
  1545. methodDescriptor_ApiApp_AssControlInfoDetail);
  1546. };
  1547. /**
  1548. * @const
  1549. * @type {!grpc.web.MethodDescriptor<
  1550. * !proto.app.v1.AssControlInfoSaveRequest,
  1551. * !proto.app.v1.DefaultReply>}
  1552. */
  1553. const methodDescriptor_ApiApp_AssControlInfoSave = new grpc.web.MethodDescriptor(
  1554. '/app.v1.ApiApp/AssControlInfoSave',
  1555. grpc.web.MethodType.UNARY,
  1556. proto.app.v1.AssControlInfoSaveRequest,
  1557. proto.app.v1.DefaultReply,
  1558. /**
  1559. * @param {!proto.app.v1.AssControlInfoSaveRequest} request
  1560. * @return {!Uint8Array}
  1561. */
  1562. function(request) {
  1563. return request.serializeBinary();
  1564. },
  1565. proto.app.v1.DefaultReply.deserializeBinary
  1566. );
  1567. /**
  1568. * @param {!proto.app.v1.AssControlInfoSaveRequest} request The
  1569. * request proto
  1570. * @param {?Object<string, string>} metadata User defined
  1571. * call metadata
  1572. * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
  1573. * callback The callback function(error, response)
  1574. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
  1575. * The XHR Node Readable Stream
  1576. */
  1577. proto.app.v1.ApiAppClient.prototype.assControlInfoSave =
  1578. function(request, metadata, callback) {
  1579. return this.client_.rpcCall(this.hostname_ +
  1580. '/app.v1.ApiApp/AssControlInfoSave',
  1581. request,
  1582. metadata || {},
  1583. methodDescriptor_ApiApp_AssControlInfoSave,
  1584. callback);
  1585. };
  1586. /**
  1587. * @param {!proto.app.v1.AssControlInfoSaveRequest} request The
  1588. * request proto
  1589. * @param {?Object<string, string>=} metadata User defined
  1590. * call metadata
  1591. * @return {!Promise<!proto.app.v1.DefaultReply>}
  1592. * Promise that resolves to the response
  1593. */
  1594. proto.app.v1.ApiAppPromiseClient.prototype.assControlInfoSave =
  1595. function(request, metadata) {
  1596. return this.client_.unaryCall(this.hostname_ +
  1597. '/app.v1.ApiApp/AssControlInfoSave',
  1598. request,
  1599. metadata || {},
  1600. methodDescriptor_ApiApp_AssControlInfoSave);
  1601. };
  1602. /**
  1603. * @const
  1604. * @type {!grpc.web.MethodDescriptor<
  1605. * !proto.app.v1.AssControlInfoGpsSaveRequest,
  1606. * !proto.app.v1.DefaultReply>}
  1607. */
  1608. const methodDescriptor_ApiApp_AssControlInfoGpsSave = new grpc.web.MethodDescriptor(
  1609. '/app.v1.ApiApp/AssControlInfoGpsSave',
  1610. grpc.web.MethodType.UNARY,
  1611. proto.app.v1.AssControlInfoGpsSaveRequest,
  1612. proto.app.v1.DefaultReply,
  1613. /**
  1614. * @param {!proto.app.v1.AssControlInfoGpsSaveRequest} request
  1615. * @return {!Uint8Array}
  1616. */
  1617. function(request) {
  1618. return request.serializeBinary();
  1619. },
  1620. proto.app.v1.DefaultReply.deserializeBinary
  1621. );
  1622. /**
  1623. * @param {!proto.app.v1.AssControlInfoGpsSaveRequest} request The
  1624. * request proto
  1625. * @param {?Object<string, string>} metadata User defined
  1626. * call metadata
  1627. * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
  1628. * callback The callback function(error, response)
  1629. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
  1630. * The XHR Node Readable Stream
  1631. */
  1632. proto.app.v1.ApiAppClient.prototype.assControlInfoGpsSave =
  1633. function(request, metadata, callback) {
  1634. return this.client_.rpcCall(this.hostname_ +
  1635. '/app.v1.ApiApp/AssControlInfoGpsSave',
  1636. request,
  1637. metadata || {},
  1638. methodDescriptor_ApiApp_AssControlInfoGpsSave,
  1639. callback);
  1640. };
  1641. /**
  1642. * @param {!proto.app.v1.AssControlInfoGpsSaveRequest} request The
  1643. * request proto
  1644. * @param {?Object<string, string>=} metadata User defined
  1645. * call metadata
  1646. * @return {!Promise<!proto.app.v1.DefaultReply>}
  1647. * Promise that resolves to the response
  1648. */
  1649. proto.app.v1.ApiAppPromiseClient.prototype.assControlInfoGpsSave =
  1650. function(request, metadata) {
  1651. return this.client_.unaryCall(this.hostname_ +
  1652. '/app.v1.ApiApp/AssControlInfoGpsSave',
  1653. request,
  1654. metadata || {},
  1655. methodDescriptor_ApiApp_AssControlInfoGpsSave);
  1656. };
  1657. /**
  1658. * @const
  1659. * @type {!grpc.web.MethodDescriptor<
  1660. * !proto.app.v1.AssVerificationRequest,
  1661. * !proto.app.v1.DefaultReply>}
  1662. */
  1663. const methodDescriptor_ApiApp_AssVerification = new grpc.web.MethodDescriptor(
  1664. '/app.v1.ApiApp/AssVerification',
  1665. grpc.web.MethodType.UNARY,
  1666. proto.app.v1.AssVerificationRequest,
  1667. proto.app.v1.DefaultReply,
  1668. /**
  1669. * @param {!proto.app.v1.AssVerificationRequest} request
  1670. * @return {!Uint8Array}
  1671. */
  1672. function(request) {
  1673. return request.serializeBinary();
  1674. },
  1675. proto.app.v1.DefaultReply.deserializeBinary
  1676. );
  1677. /**
  1678. * @param {!proto.app.v1.AssVerificationRequest} request The
  1679. * request proto
  1680. * @param {?Object<string, string>} metadata User defined
  1681. * call metadata
  1682. * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
  1683. * callback The callback function(error, response)
  1684. * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
  1685. * The XHR Node Readable Stream
  1686. */
  1687. proto.app.v1.ApiAppClient.prototype.assVerification =
  1688. function(request, metadata, callback) {
  1689. return this.client_.rpcCall(this.hostname_ +
  1690. '/app.v1.ApiApp/AssVerification',
  1691. request,
  1692. metadata || {},
  1693. methodDescriptor_ApiApp_AssVerification,
  1694. callback);
  1695. };
  1696. /**
  1697. * @param {!proto.app.v1.AssVerificationRequest} request The
  1698. * request proto
  1699. * @param {?Object<string, string>=} metadata User defined
  1700. * call metadata
  1701. * @return {!Promise<!proto.app.v1.DefaultReply>}
  1702. * Promise that resolves to the response
  1703. */
  1704. proto.app.v1.ApiAppPromiseClient.prototype.assVerification =
  1705. function(request, metadata) {
  1706. return this.client_.unaryCall(this.hostname_ +
  1707. '/app.v1.ApiApp/AssVerification',
  1708. request,
  1709. metadata || {},
  1710. methodDescriptor_ApiApp_AssVerification);
  1711. };
  1712. module.exports = proto.app.v1;