| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913 |
- /**
- * @fileoverview gRPC-Web generated client stub for app.v1
- * @enhanceable
- * @public
- */
- // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
- // versions:
- // protoc-gen-grpc-web v1.4.2
- // protoc v3.20.3
- // source: app_api.proto
- /* eslint-disable */
- // @ts-nocheck
- const grpc = {};
- grpc.web = require('grpc-web');
- var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js')
- var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
- const proto = {};
- proto.app = {};
- proto.app.v1 = require('./app_api_pb.js');
- /**
- * @param {string} hostname
- * @param {?Object} credentials
- * @param {?grpc.web.ClientOptions} options
- * @constructor
- * @struct
- * @final
- */
- proto.app.v1.ApiAppClient =
- function(hostname, credentials, options) {
- if (!options) options = {};
- options.format = 'text';
- /**
- * @private @const {!grpc.web.GrpcWebClientBase} The client
- */
- this.client_ = new grpc.web.GrpcWebClientBase(options);
- /**
- * @private @const {string} The hostname
- */
- this.hostname_ = hostname.replace(/\/+$/, '');
- };
- /**
- * @param {string} hostname
- * @param {?Object} credentials
- * @param {?grpc.web.ClientOptions} options
- * @constructor
- * @struct
- * @final
- */
- proto.app.v1.ApiAppPromiseClient =
- function(hostname, credentials, options) {
- if (!options) options = {};
- options.format = 'text';
- /**
- * @private @const {!grpc.web.GrpcWebClientBase} The client
- */
- this.client_ = new grpc.web.GrpcWebClientBase(options);
- /**
- * @private @const {string} The hostname
- */
- this.hostname_ = hostname.replace(/\/+$/, '');
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.AuthSendCodeToPhoneRequest,
- * !proto.app.v1.DefaultReply>}
- */
- const methodDescriptor_ApiApp_AuthSendCodeToPhone = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/AuthSendCodeToPhone',
- grpc.web.MethodType.UNARY,
- proto.app.v1.AuthSendCodeToPhoneRequest,
- proto.app.v1.DefaultReply,
- /**
- * @param {!proto.app.v1.AuthSendCodeToPhoneRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.DefaultReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.AuthSendCodeToPhoneRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.authSendCodeToPhone =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/AuthSendCodeToPhone',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AuthSendCodeToPhone,
- callback);
- };
- /**
- * @param {!proto.app.v1.AuthSendCodeToPhoneRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.DefaultReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.authSendCodeToPhone =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/AuthSendCodeToPhone',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AuthSendCodeToPhone);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.DefaultRequest,
- * !proto.app.v1.Image>}
- */
- const methodDescriptor_ApiApp_GetVfPic = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GetVfPic',
- grpc.web.MethodType.UNARY,
- proto.app.v1.DefaultRequest,
- proto.app.v1.Image,
- /**
- * @param {!proto.app.v1.DefaultRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.Image.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.Image)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.Image>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.getVfPic =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GetVfPic',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetVfPic,
- callback);
- };
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.Image>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.getVfPic =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GetVfPic',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetVfPic);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.SignOutRequest,
- * !proto.app.v1.DefaultReply>}
- */
- const methodDescriptor_ApiApp_SignOut = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/SignOut',
- grpc.web.MethodType.UNARY,
- proto.app.v1.SignOutRequest,
- proto.app.v1.DefaultReply,
- /**
- * @param {!proto.app.v1.SignOutRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.DefaultReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.SignOutRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.signOut =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/SignOut',
- request,
- metadata || {},
- methodDescriptor_ApiApp_SignOut,
- callback);
- };
- /**
- * @param {!proto.app.v1.SignOutRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.DefaultReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.signOut =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/SignOut',
- request,
- metadata || {},
- methodDescriptor_ApiApp_SignOut);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.DefaultRequest,
- * !proto.app.v1.DefaultReply>}
- */
- const methodDescriptor_ApiApp_Unsubscribe = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/Unsubscribe',
- grpc.web.MethodType.UNARY,
- proto.app.v1.DefaultRequest,
- proto.app.v1.DefaultReply,
- /**
- * @param {!proto.app.v1.DefaultRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.DefaultReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.unsubscribe =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/Unsubscribe',
- request,
- metadata || {},
- methodDescriptor_ApiApp_Unsubscribe,
- callback);
- };
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.DefaultReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.unsubscribe =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/Unsubscribe',
- request,
- metadata || {},
- methodDescriptor_ApiApp_Unsubscribe);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.SignInRequest,
- * !proto.app.v1.SignInReply>}
- */
- const methodDescriptor_ApiApp_SignIn = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/SignIn',
- grpc.web.MethodType.UNARY,
- proto.app.v1.SignInRequest,
- proto.app.v1.SignInReply,
- /**
- * @param {!proto.app.v1.SignInRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.SignInReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.SignInRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.SignInReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.SignInReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.signIn =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/SignIn',
- request,
- metadata || {},
- methodDescriptor_ApiApp_SignIn,
- callback);
- };
- /**
- * @param {!proto.app.v1.SignInRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.SignInReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.signIn =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/SignIn',
- request,
- metadata || {},
- methodDescriptor_ApiApp_SignIn);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.SignUpRequest,
- * !proto.app.v1.SignInReply>}
- */
- const methodDescriptor_ApiApp_SignUp = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/SignUp',
- grpc.web.MethodType.UNARY,
- proto.app.v1.SignUpRequest,
- proto.app.v1.SignInReply,
- /**
- * @param {!proto.app.v1.SignUpRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.SignInReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.SignUpRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.SignInReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.SignInReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.signUp =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/SignUp',
- request,
- metadata || {},
- methodDescriptor_ApiApp_SignUp,
- callback);
- };
- /**
- * @param {!proto.app.v1.SignUpRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.SignInReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.signUp =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/SignUp',
- request,
- metadata || {},
- methodDescriptor_ApiApp_SignUp);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.UserNameEditRequest,
- * !proto.app.v1.DefaultReply>}
- */
- const methodDescriptor_ApiApp_UserNameEdit = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/UserNameEdit',
- grpc.web.MethodType.UNARY,
- proto.app.v1.UserNameEditRequest,
- proto.app.v1.DefaultReply,
- /**
- * @param {!proto.app.v1.UserNameEditRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.DefaultReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.UserNameEditRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.userNameEdit =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/UserNameEdit',
- request,
- metadata || {},
- methodDescriptor_ApiApp_UserNameEdit,
- callback);
- };
- /**
- * @param {!proto.app.v1.UserNameEditRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.DefaultReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.userNameEdit =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/UserNameEdit',
- request,
- metadata || {},
- methodDescriptor_ApiApp_UserNameEdit);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.ProviderListRequest,
- * !proto.app.v1.ProviderListReply>}
- */
- const methodDescriptor_ApiApp_ProviderList = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/ProviderList',
- grpc.web.MethodType.UNARY,
- proto.app.v1.ProviderListRequest,
- proto.app.v1.ProviderListReply,
- /**
- * @param {!proto.app.v1.ProviderListRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.ProviderListReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.ProviderListRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProviderListReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProviderListReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.providerList =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/ProviderList',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProviderList,
- callback);
- };
- /**
- * @param {!proto.app.v1.ProviderListRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.ProviderListReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.providerList =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/ProviderList',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProviderList);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.IdRequest,
- * !proto.app.v1.ProviderDetailReply>}
- */
- const methodDescriptor_ApiApp_ProviderDetail = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/ProviderDetail',
- grpc.web.MethodType.UNARY,
- proto.app.v1.IdRequest,
- proto.app.v1.ProviderDetailReply,
- /**
- * @param {!proto.app.v1.IdRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.ProviderDetailReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProviderDetailReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProviderDetailReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.providerDetail =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/ProviderDetail',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProviderDetail,
- callback);
- };
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.ProviderDetailReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.providerDetail =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/ProviderDetail',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProviderDetail);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.PositionRequest,
- * !proto.app.v1.ProjectListReply>}
- */
- const methodDescriptor_ApiApp_ProjectListByPosition = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/ProjectListByPosition',
- grpc.web.MethodType.UNARY,
- proto.app.v1.PositionRequest,
- proto.app.v1.ProjectListReply,
- /**
- * @param {!proto.app.v1.PositionRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.ProjectListReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.PositionRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProjectListReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProjectListReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.projectListByPosition =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/ProjectListByPosition',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProjectListByPosition,
- callback);
- };
- /**
- * @param {!proto.app.v1.PositionRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.ProjectListReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.projectListByPosition =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/ProjectListByPosition',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProjectListByPosition);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.IdRequest,
- * !proto.app.v1.ProjectListReply>}
- */
- const methodDescriptor_ApiApp_ProjectListByProvider = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/ProjectListByProvider',
- grpc.web.MethodType.UNARY,
- proto.app.v1.IdRequest,
- proto.app.v1.ProjectListReply,
- /**
- * @param {!proto.app.v1.IdRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.ProjectListReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProjectListReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProjectListReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.projectListByProvider =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/ProjectListByProvider',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProjectListByProvider,
- callback);
- };
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.ProjectListReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.projectListByProvider =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/ProjectListByProvider',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProjectListByProvider);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.IdRequest,
- * !proto.app.v1.ProjectDetailReply>}
- */
- const methodDescriptor_ApiApp_ProjectDetail = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/ProjectDetail',
- grpc.web.MethodType.UNARY,
- proto.app.v1.IdRequest,
- proto.app.v1.ProjectDetailReply,
- /**
- * @param {!proto.app.v1.IdRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.ProjectDetailReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.ProjectDetailReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.ProjectDetailReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.projectDetail =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/ProjectDetail',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProjectDetail,
- callback);
- };
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.ProjectDetailReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.projectDetail =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/ProjectDetail',
- request,
- metadata || {},
- methodDescriptor_ApiApp_ProjectDetail);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.GameStartRequest,
- * !proto.app.v1.GameStartReply>}
- */
- const methodDescriptor_ApiApp_GameStart = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GameStart',
- grpc.web.MethodType.UNARY,
- proto.app.v1.GameStartRequest,
- proto.app.v1.GameStartReply,
- /**
- * @param {!proto.app.v1.GameStartRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.GameStartReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.GameStartRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.GameStartReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GameStartReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.gameStart =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GameStart',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GameStart,
- callback);
- };
- /**
- * @param {!proto.app.v1.GameStartRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.GameStartReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.gameStart =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GameStart',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GameStart);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.GameSaveUploadRequest,
- * !proto.app.v1.DefaultReply>}
- */
- const methodDescriptor_ApiApp_GameSaveUpload = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GameSaveUpload',
- grpc.web.MethodType.UNARY,
- proto.app.v1.GameSaveUploadRequest,
- proto.app.v1.DefaultReply,
- /**
- * @param {!proto.app.v1.GameSaveUploadRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.DefaultReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.GameSaveUploadRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.gameSaveUpload =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GameSaveUpload',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GameSaveUpload,
- callback);
- };
- /**
- * @param {!proto.app.v1.GameSaveUploadRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.DefaultReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.gameSaveUpload =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GameSaveUpload',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GameSaveUpload);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.GameFinishRequest,
- * !proto.app.v1.GameDetailReply>}
- */
- const methodDescriptor_ApiApp_GameFinish = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GameFinish',
- grpc.web.MethodType.UNARY,
- proto.app.v1.GameFinishRequest,
- proto.app.v1.GameDetailReply,
- /**
- * @param {!proto.app.v1.GameFinishRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.GameDetailReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.GameFinishRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.GameDetailReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GameDetailReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.gameFinish =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GameFinish',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GameFinish,
- callback);
- };
- /**
- * @param {!proto.app.v1.GameFinishRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.GameDetailReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.gameFinish =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GameFinish',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GameFinish);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.DefaultRequest,
- * !proto.app.v1.Region>}
- */
- const methodDescriptor_ApiApp_GetRegion = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GetRegion',
- grpc.web.MethodType.UNARY,
- proto.app.v1.DefaultRequest,
- proto.app.v1.Region,
- /**
- * @param {!proto.app.v1.DefaultRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.Region.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.Region)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.Region>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.getRegion =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GetRegion',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetRegion,
- callback);
- };
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.Region>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.getRegion =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GetRegion',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetRegion);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.RegionListRequest,
- * !proto.app.v1.RegionListReply>}
- */
- const methodDescriptor_ApiApp_RegionList = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/RegionList',
- grpc.web.MethodType.UNARY,
- proto.app.v1.RegionListRequest,
- proto.app.v1.RegionListReply,
- /**
- * @param {!proto.app.v1.RegionListRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.RegionListReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.RegionListRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.RegionListReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.RegionListReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.regionList =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/RegionList',
- request,
- metadata || {},
- methodDescriptor_ApiApp_RegionList,
- callback);
- };
- /**
- * @param {!proto.app.v1.RegionListRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.RegionListReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.regionList =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/RegionList',
- request,
- metadata || {},
- methodDescriptor_ApiApp_RegionList);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.DefaultRequest,
- * !proto.app.v1.GetInGameDataReply>}
- */
- const methodDescriptor_ApiApp_GetInGameData = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GetInGameData',
- grpc.web.MethodType.UNARY,
- proto.app.v1.DefaultRequest,
- proto.app.v1.GetInGameDataReply,
- /**
- * @param {!proto.app.v1.DefaultRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.GetInGameDataReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.GetInGameDataReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GetInGameDataReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.getInGameData =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GetInGameData',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetInGameData,
- callback);
- };
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.GetInGameDataReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.getInGameData =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GetInGameData',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetInGameData);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.DefaultRequest,
- * !proto.app.v1.GetServerTimeReply>}
- */
- const methodDescriptor_ApiApp_GetServerTime = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GetServerTime',
- grpc.web.MethodType.UNARY,
- proto.app.v1.DefaultRequest,
- proto.app.v1.GetServerTimeReply,
- /**
- * @param {!proto.app.v1.DefaultRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.GetServerTimeReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.GetServerTimeReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GetServerTimeReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.getServerTime =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GetServerTime',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetServerTime,
- callback);
- };
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.GetServerTimeReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.getServerTime =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GetServerTime',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetServerTime);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.GetSmsSendLeftTimeRequest,
- * !proto.app.v1.GetSmsSendLeftTimeReply>}
- */
- const methodDescriptor_ApiApp_GetSmsSendLeftTime = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GetSmsSendLeftTime',
- grpc.web.MethodType.UNARY,
- proto.app.v1.GetSmsSendLeftTimeRequest,
- proto.app.v1.GetSmsSendLeftTimeReply,
- /**
- * @param {!proto.app.v1.GetSmsSendLeftTimeRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.GetSmsSendLeftTimeReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.GetSmsSendLeftTimeRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.GetSmsSendLeftTimeReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GetSmsSendLeftTimeReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.getSmsSendLeftTime =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GetSmsSendLeftTime',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetSmsSendLeftTime,
- callback);
- };
- /**
- * @param {!proto.app.v1.GetSmsSendLeftTimeRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.GetSmsSendLeftTimeReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.getSmsSendLeftTime =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GetSmsSendLeftTime',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetSmsSendLeftTime);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.GetUpdateVersionRequest,
- * !proto.app.v1.GetUpdateVersionReply>}
- */
- const methodDescriptor_ApiApp_GetUpdateVersion = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/GetUpdateVersion',
- grpc.web.MethodType.UNARY,
- proto.app.v1.GetUpdateVersionRequest,
- proto.app.v1.GetUpdateVersionReply,
- /**
- * @param {!proto.app.v1.GetUpdateVersionRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.GetUpdateVersionReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.GetUpdateVersionRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.GetUpdateVersionReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GetUpdateVersionReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.getUpdateVersion =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/GetUpdateVersion',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetUpdateVersion,
- callback);
- };
- /**
- * @param {!proto.app.v1.GetUpdateVersionRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.GetUpdateVersionReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.getUpdateVersion =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/GetUpdateVersion',
- request,
- metadata || {},
- methodDescriptor_ApiApp_GetUpdateVersion);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.DefaultRequest,
- * !proto.app.v1.MyHistoryGameReply>}
- */
- const methodDescriptor_ApiApp_MyHistoryGame = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/MyHistoryGame',
- grpc.web.MethodType.UNARY,
- proto.app.v1.DefaultRequest,
- proto.app.v1.MyHistoryGameReply,
- /**
- * @param {!proto.app.v1.DefaultRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.MyHistoryGameReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.MyHistoryGameReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.MyHistoryGameReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.myHistoryGame =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/MyHistoryGame',
- request,
- metadata || {},
- methodDescriptor_ApiApp_MyHistoryGame,
- callback);
- };
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.MyHistoryGameReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.myHistoryGame =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/MyHistoryGame',
- request,
- metadata || {},
- methodDescriptor_ApiApp_MyHistoryGame);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.IdRequest,
- * !proto.app.v1.GameDetailReply>}
- */
- const methodDescriptor_ApiApp_HistoryGameDetail = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/HistoryGameDetail',
- grpc.web.MethodType.UNARY,
- proto.app.v1.IdRequest,
- proto.app.v1.GameDetailReply,
- /**
- * @param {!proto.app.v1.IdRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.GameDetailReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.GameDetailReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.GameDetailReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.historyGameDetail =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/HistoryGameDetail',
- request,
- metadata || {},
- methodDescriptor_ApiApp_HistoryGameDetail,
- callback);
- };
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.GameDetailReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.historyGameDetail =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/HistoryGameDetail',
- request,
- metadata || {},
- methodDescriptor_ApiApp_HistoryGameDetail);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.DefaultRequest,
- * !proto.app.v1.MyUserQueryReply>}
- */
- const methodDescriptor_ApiApp_MyUserQuery = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/MyUserQuery',
- grpc.web.MethodType.UNARY,
- proto.app.v1.DefaultRequest,
- proto.app.v1.MyUserQueryReply,
- /**
- * @param {!proto.app.v1.DefaultRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.MyUserQueryReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.MyUserQueryReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.MyUserQueryReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.myUserQuery =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/MyUserQuery',
- request,
- metadata || {},
- methodDescriptor_ApiApp_MyUserQuery,
- callback);
- };
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.MyUserQueryReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.myUserQuery =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/MyUserQuery',
- request,
- metadata || {},
- methodDescriptor_ApiApp_MyUserQuery);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.DefaultRequest,
- * !proto.app.v1.AssShopListReply>}
- */
- const methodDescriptor_ApiApp_AssShopList = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/AssShopList',
- grpc.web.MethodType.UNARY,
- proto.app.v1.DefaultRequest,
- proto.app.v1.AssShopListReply,
- /**
- * @param {!proto.app.v1.DefaultRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.AssShopListReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.AssShopListReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.AssShopListReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.assShopList =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/AssShopList',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssShopList,
- callback);
- };
- /**
- * @param {!proto.app.v1.DefaultRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.AssShopListReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.assShopList =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/AssShopList',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssShopList);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.IdRequest,
- * !proto.app.v1.AssControlInfoListReply>}
- */
- const methodDescriptor_ApiApp_AssControlInfoList = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/AssControlInfoList',
- grpc.web.MethodType.UNARY,
- proto.app.v1.IdRequest,
- proto.app.v1.AssControlInfoListReply,
- /**
- * @param {!proto.app.v1.IdRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.AssControlInfoListReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.AssControlInfoListReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.AssControlInfoListReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.assControlInfoList =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/AssControlInfoList',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssControlInfoList,
- callback);
- };
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.AssControlInfoListReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.assControlInfoList =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/AssControlInfoList',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssControlInfoList);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.IdRequest,
- * !proto.app.v1.AssControlInfoDetailReply>}
- */
- const methodDescriptor_ApiApp_AssControlInfoDetail = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/AssControlInfoDetail',
- grpc.web.MethodType.UNARY,
- proto.app.v1.IdRequest,
- proto.app.v1.AssControlInfoDetailReply,
- /**
- * @param {!proto.app.v1.IdRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.AssControlInfoDetailReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.AssControlInfoDetailReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.AssControlInfoDetailReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.assControlInfoDetail =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/AssControlInfoDetail',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssControlInfoDetail,
- callback);
- };
- /**
- * @param {!proto.app.v1.IdRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.AssControlInfoDetailReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.assControlInfoDetail =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/AssControlInfoDetail',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssControlInfoDetail);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.AssControlInfoSaveRequest,
- * !proto.app.v1.DefaultReply>}
- */
- const methodDescriptor_ApiApp_AssControlInfoSave = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/AssControlInfoSave',
- grpc.web.MethodType.UNARY,
- proto.app.v1.AssControlInfoSaveRequest,
- proto.app.v1.DefaultReply,
- /**
- * @param {!proto.app.v1.AssControlInfoSaveRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.DefaultReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.AssControlInfoSaveRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.assControlInfoSave =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/AssControlInfoSave',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssControlInfoSave,
- callback);
- };
- /**
- * @param {!proto.app.v1.AssControlInfoSaveRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.DefaultReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.assControlInfoSave =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/AssControlInfoSave',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssControlInfoSave);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.AssControlInfoGpsSaveRequest,
- * !proto.app.v1.DefaultReply>}
- */
- const methodDescriptor_ApiApp_AssControlInfoGpsSave = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/AssControlInfoGpsSave',
- grpc.web.MethodType.UNARY,
- proto.app.v1.AssControlInfoGpsSaveRequest,
- proto.app.v1.DefaultReply,
- /**
- * @param {!proto.app.v1.AssControlInfoGpsSaveRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.DefaultReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.AssControlInfoGpsSaveRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.assControlInfoGpsSave =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/AssControlInfoGpsSave',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssControlInfoGpsSave,
- callback);
- };
- /**
- * @param {!proto.app.v1.AssControlInfoGpsSaveRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.DefaultReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.assControlInfoGpsSave =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/AssControlInfoGpsSave',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssControlInfoGpsSave);
- };
- /**
- * @const
- * @type {!grpc.web.MethodDescriptor<
- * !proto.app.v1.AssVerificationRequest,
- * !proto.app.v1.DefaultReply>}
- */
- const methodDescriptor_ApiApp_AssVerification = new grpc.web.MethodDescriptor(
- '/app.v1.ApiApp/AssVerification',
- grpc.web.MethodType.UNARY,
- proto.app.v1.AssVerificationRequest,
- proto.app.v1.DefaultReply,
- /**
- * @param {!proto.app.v1.AssVerificationRequest} request
- * @return {!Uint8Array}
- */
- function(request) {
- return request.serializeBinary();
- },
- proto.app.v1.DefaultReply.deserializeBinary
- );
- /**
- * @param {!proto.app.v1.AssVerificationRequest} request The
- * request proto
- * @param {?Object<string, string>} metadata User defined
- * call metadata
- * @param {function(?grpc.web.RpcError, ?proto.app.v1.DefaultReply)}
- * callback The callback function(error, response)
- * @return {!grpc.web.ClientReadableStream<!proto.app.v1.DefaultReply>|undefined}
- * The XHR Node Readable Stream
- */
- proto.app.v1.ApiAppClient.prototype.assVerification =
- function(request, metadata, callback) {
- return this.client_.rpcCall(this.hostname_ +
- '/app.v1.ApiApp/AssVerification',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssVerification,
- callback);
- };
- /**
- * @param {!proto.app.v1.AssVerificationRequest} request The
- * request proto
- * @param {?Object<string, string>=} metadata User defined
- * call metadata
- * @return {!Promise<!proto.app.v1.DefaultReply>}
- * Promise that resolves to the response
- */
- proto.app.v1.ApiAppPromiseClient.prototype.assVerification =
- function(request, metadata) {
- return this.client_.unaryCall(this.hostname_ +
- '/app.v1.ApiApp/AssVerification',
- request,
- metadata || {},
- methodDescriptor_ApiApp_AssVerification);
- };
- module.exports = proto.app.v1;
|