From f0c8230f8eb243381e015645fc47cad1e98a46ab Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Wed, 24 Aug 2022 05:58:58 +0000 Subject: [PATCH] member, member_bank_account are modified --- .../member/user/components/view.component.ts | 5 +- .../member/services/member.service.ts | 50 ++ .../services/member_bank_account.service.ts | 24 + .../c2se/backend/member_bank_account_pb.d.ts | 1 + .../c2se/backend/member_bank_account_pb.js | 2 + .../c2se/backend/member_bank_deposit_pb.js | 6 + .../c2se/backend/member_bank_withdraw_pb.js | 6 + .../modules/proto/c2se/backend/member_pb.d.ts | 2 + .../modules/proto/c2se/backend/member_pb.js | 4 + .../c2se/frontend/member_bank_account_pb.d.ts | 9 + .../c2se/frontend/member_bank_account_pb.js | 40 + .../c2se/frontend/member_bank_deposit_pb.d.ts | 10 + .../c2se/frontend/member_bank_deposit_pb.js | 42 + .../frontend/member_bank_withdraw_pb.d.ts | 10 + .../c2se/frontend/member_bank_withdraw_pb.js | 42 + .../proto/c2se/frontend/member_pb.d.ts | 11 + .../modules/proto/c2se/frontend/member_pb.js | 37 + .../proto/c2se/member_bank_account_pb.d.ts | 113 ++- .../proto/c2se/member_bank_account_pb.js | 645 ++++++++++++++- src/app/modules/proto/c2se/member_pb.d.ts | 117 ++- src/app/modules/proto/c2se/member_pb.js | 772 ++++++++++++++++-- 21 files changed, 1815 insertions(+), 133 deletions(-) create mode 100644 src/app/modules/proto/c2se/frontend/member_bank_account_pb.d.ts create mode 100644 src/app/modules/proto/c2se/frontend/member_bank_account_pb.js create mode 100644 src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.d.ts create mode 100644 src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.js create mode 100644 src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.d.ts create mode 100644 src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.js create mode 100644 src/app/modules/proto/c2se/frontend/member_pb.d.ts create mode 100644 src/app/modules/proto/c2se/frontend/member_pb.js diff --git a/src/app/modules/admin/member/user/components/view.component.ts b/src/app/modules/admin/member/user/components/view.component.ts index a83494a..946524e 100644 --- a/src/app/modules/admin/member/user/components/view.component.ts +++ b/src/app/modules/admin/member/user/components/view.component.ts @@ -320,9 +320,7 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy { siteId, hodingGameMoney, } = this.memberDefaultForm.value; - if (!!signinPw && signinPw == '') { - req.setPassword(signinPw); - } + if (!!levelId && levelId == '') { req.setMemberLevelId(levelId); } @@ -349,7 +347,6 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy { bank.setId(bankId); bank.setAccountNumber(accountNumber); bank.setName(accountHolder); - bank.setExchangePassword(exchangePw); } req.setBankAccount(bank); } diff --git a/src/app/modules/polyglot/member/services/member.service.ts b/src/app/modules/polyglot/member/services/member.service.ts index 991ea74..f60d35f 100644 --- a/src/app/modules/polyglot/member/services/member.service.ts +++ b/src/app/modules/polyglot/member/services/member.service.ts @@ -15,6 +15,10 @@ import { UpdateMemberResponse, CreateMemberResponse, CreateMemberRequest, + UpdateMemberForPasswordRequest, + UpdateMemberForPasswordResponse, + UpdateMemberForStateRequest, + UpdateMemberForStateResponse, } from 'app/modules/proto/c2se/member_pb'; import { SUBJECT_LIST_MEMBERS, @@ -136,6 +140,52 @@ export class MemberService { }); } + updateMemberForPassword( + req: UpdateMemberForPasswordRequest + ): Promise { + return new Promise( + (resolve, reject) => { + this.__natsService + .request( + SUBJECT_UPDATE_MEMBER, + req.serializeBinary(), + UpdateMemberForPasswordResponse.deserializeBinary + ) + .then((result) => { + console.log('updateMemberForPassword Result: ', result); + resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + reject(e); + }); + } + ); + } + + updateMemberForState( + req: UpdateMemberForStateRequest + ): Promise { + return new Promise( + (resolve, reject) => { + this.__natsService + .request( + SUBJECT_UPDATE_MEMBER, + req.serializeBinary(), + UpdateMemberForStateResponse.deserializeBinary + ) + .then((result) => { + console.log('updateMemberForState Result: ', result); + resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + reject(e); + }); + } + ); + } + // siteId: 8429a7ab-b9de-400b-a209-28ff46e22bec // classId: 4b014ef5-3bab-4413-aaf9-b0040a70ec77 // levelId: c56231ac-2120-4a81-a30a-5d41fafb6c57 diff --git a/src/app/modules/polyglot/member_bank_account/services/member_bank_account.service.ts b/src/app/modules/polyglot/member_bank_account/services/member_bank_account.service.ts index b77f060..76ff298 100644 --- a/src/app/modules/polyglot/member_bank_account/services/member_bank_account.service.ts +++ b/src/app/modules/polyglot/member_bank_account/services/member_bank_account.service.ts @@ -15,6 +15,7 @@ import { DeleteMemberBankAccountResponse, GetMemberBankAccountResponse, GetMemberBankAccountRequest, + UpdateMemberBankAccountForExchangePasswordResponse, } from 'app/modules/proto/c2se/member_bank_account_pb'; import { SUBJECT_LIST_MEMBER_BANK_ACCOUNTS, @@ -133,6 +134,29 @@ export class MemberBankAccountService { ); } + updateMemberBankAccountForExchangePassword(): Promise { + return new Promise( + (resolve, reject) => { + let req = new UpdateMemberBankAccountForExchangePasswordResponse(); + + this.__natsService + .request( + SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT, + req.serializeBinary(), + UpdateMemberBankAccountForExchangePasswordResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } + deleteMemberBankAccount(): Promise { return new Promise( (resolve, reject) => { diff --git a/src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts b/src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts index 95ed2c7..3ab070d 100644 --- a/src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts +++ b/src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts @@ -7,4 +7,5 @@ export const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: string; export const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: string; export const SUBJECT_GET_MEMBER_BANK_ACCOUNT: string; export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: string; +export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: string; export const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: string; diff --git a/src/app/modules/proto/c2se/backend/member_bank_account_pb.js b/src/app/modules/proto/c2se/backend/member_bank_account_pb.js index 27150b1..c8e4a41 100644 --- a/src/app/modules/proto/c2se/backend/member_bank_account_pb.js +++ b/src/app/modules/proto/c2se/backend/member_bank_account_pb.js @@ -33,6 +33,8 @@ proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_GET_MEMBER_BANK_ACCOU "bet.beteran.c2se.backend.member_bank_account.GetMemberBankAccount"; proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT = "bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccount"; +proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD = + "bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccountForExchangePassword"; proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_DELETE_MEMBER_BANK_ACCOUNT = "bet.beteran.c2se.backend.member_bank_account.DeleteMemberBankAccount"; diff --git a/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js b/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js index 5b99513..a03cc9e 100644 --- a/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js +++ b/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js @@ -17,6 +17,12 @@ var global = function () { return this || window || global || self || Function("return this")(); }.call(null); +goog.exportSymbol( + "proto.bet.beteran.c2se.backend.member_bank_deposit", + null, + global +); + proto.bet.beteran.c2se.backend.member_bank_deposit = {}; proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT = diff --git a/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.js b/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.js index bbb0f37..8c304f5 100644 --- a/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.js +++ b/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.js @@ -17,6 +17,12 @@ var global = function () { return this || window || global || self || Function("return this")(); }.call(null); +goog.exportSymbol( + "proto.bet.beteran.c2se.backend.member_bank_withdraw", + null, + global +); + proto.bet.beteran.c2se.backend.member_bank_withdraw = {}; proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW = diff --git a/src/app/modules/proto/c2se/backend/member_pb.d.ts b/src/app/modules/proto/c2se/backend/member_pb.d.ts index e37e330..9697e44 100644 --- a/src/app/modules/proto/c2se/backend/member_pb.d.ts +++ b/src/app/modules/proto/c2se/backend/member_pb.d.ts @@ -8,4 +8,6 @@ export const SUBJECT_LIST_MEMBERS: string; export const SUBJECT_GET_MEMBER: string; export const SUBJECT_GET_MEMBER_BY_USERNAME: string; export const SUBJECT_UPDATE_MEMBER: string; +export const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: string; +export const SUBJECT_UPDATE_MEMBER_FOR_STATE: string; export const SUBJECT_DELETE_MEMBER: string; diff --git a/src/app/modules/proto/c2se/backend/member_pb.js b/src/app/modules/proto/c2se/backend/member_pb.js index 8b6898a..abb79af 100644 --- a/src/app/modules/proto/c2se/backend/member_pb.js +++ b/src/app/modules/proto/c2se/backend/member_pb.js @@ -31,6 +31,10 @@ proto.bet.beteran.c2se.backend.member.SUBJECT_GET_MEMBER_BY_USERNAME = "bet.beteran.c2se.backend.member.GetMemberByUsername"; proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER = "bet.beteran.c2se.backend.member.UpdateMember"; +proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER_FOR_PASSWORD = + "bet.beteran.c2se.backend.member.UpdateMemberForPassword"; +proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER_FOR_STATE = + "bet.beteran.c2se.backend.member.UpdateMemberForState"; proto.bet.beteran.c2se.backend.member.SUBJECT_DELETE_MEMBER = "bet.beteran.c2se.backend.member.DeleteMember"; diff --git a/src/app/modules/proto/c2se/frontend/member_bank_account_pb.d.ts b/src/app/modules/proto/c2se/frontend/member_bank_account_pb.d.ts new file mode 100644 index 0000000..72a7a1e --- /dev/null +++ b/src/app/modules/proto/c2se/frontend/member_bank_account_pb.d.ts @@ -0,0 +1,9 @@ +// package: bet.beteran.c2se.frontend.member_bank_account +// file: c2se/frontend/member_bank_account.proto + +import * as jspb from 'google-protobuf'; + +export const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: string; +export const SUBJECT_GET_MEMBER_BANK_ACCOUNT: string; +export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: string; +export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: string; diff --git a/src/app/modules/proto/c2se/frontend/member_bank_account_pb.js b/src/app/modules/proto/c2se/frontend/member_bank_account_pb.js new file mode 100644 index 0000000..b33ed4c --- /dev/null +++ b/src/app/modules/proto/c2se/frontend/member_bank_account_pb.js @@ -0,0 +1,40 @@ +// source: c2se/frontend/member_bank_account.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +goog.exportSymbol( + "proto.bet.beteran.c2se.frontend.member_bank_account", + null, + global +); + +proto.bet.beteran.c2se.frontend.member_bank_account = {}; + +proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_CREATE_MEMBER_BANK_ACCOUNT = + "bet.beteran.c2se.frontend.member_bank_account.CreateMemberBankAccount"; +proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_GET_MEMBER_BANK_ACCOUNT = + "bet.beteran.c2se.frontend.member_bank_account.GetMemberBankAccount"; +proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT = + "bet.beteran.c2se.frontend.member_bank_account.UpdateMemberBankAccount"; +proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD = + "bet.beteran.c2se.frontend.member_bank_account.UpdateMemberBankAccountForExchangePassword"; + +goog.object.extend( + exports, + proto.bet.beteran.c2se.frontend.member_bank_account +); diff --git a/src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.d.ts b/src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.d.ts new file mode 100644 index 0000000..ca9329e --- /dev/null +++ b/src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.d.ts @@ -0,0 +1,10 @@ +// package: bet.beteran.c2se.frontend.member_bank_deposit +// file: c2se/frontend/member_bank_deposit.proto + +import * as jspb from 'google-protobuf'; + +export const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: string; +export const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: string; +export const SUBJECT_GET_MEMBER_BANK_DEPOSIT: string; +export const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: string; +export const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: string; diff --git a/src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.js b/src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.js new file mode 100644 index 0000000..28f7936 --- /dev/null +++ b/src/app/modules/proto/c2se/frontend/member_bank_deposit_pb.js @@ -0,0 +1,42 @@ +// source: c2se/frontend/member_bank_deposit.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +goog.exportSymbol( + "proto.bet.beteran.c2se.frontend.member_bank_deposit", + null, + global +); + +proto.bet.beteran.c2se.frontend.member_bank_deposit = {}; + +proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT = + "bet.beteran.c2se.frontend.member_bank_deposit.CreateMemberBankDeposit"; +proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_LIST_MEMBER_BANK_DEPOSITS = + "bet.beteran.c2se.frontend.member_bank_deposit.ListMemberBankDeposits"; +proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_GET_MEMBER_BANK_DEPOSIT = + "bet.beteran.c2se.frontend.member_bank_deposit.GetMemberBankDeposit"; +proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT = + "bet.beteran.c2se.frontend.member_bank_deposit.UpdateMemberBankDeposit"; +proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_DELETE_MEMBER_BANK_DEPOSIT = + "bet.beteran.c2se.frontend.member_bank_deposit.DeleteMemberBankDeposit"; + +goog.object.extend( + exports, + proto.bet.beteran.c2se.frontend.member_bank_deposit +); diff --git a/src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.d.ts b/src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.d.ts new file mode 100644 index 0000000..11e8e1b --- /dev/null +++ b/src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.d.ts @@ -0,0 +1,10 @@ +// package: bet.beteran.c2se.frontend.member_bank_withdraw +// file: c2se/frontend/member_bank_withdraw.proto + +import * as jspb from 'google-protobuf'; + +export const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: string; +export const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: string; +export const SUBJECT_GET_MEMBER_BANK_WITHDRAW: string; +export const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: string; +export const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: string; diff --git a/src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.js b/src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.js new file mode 100644 index 0000000..da712c7 --- /dev/null +++ b/src/app/modules/proto/c2se/frontend/member_bank_withdraw_pb.js @@ -0,0 +1,42 @@ +// source: c2se/frontend/member_bank_withdraw.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +goog.exportSymbol( + "proto.bet.beteran.c2se.frontend.member_bank_deposit", + null, + global +); + +proto.bet.beteran.c2se.frontend.member_bank_withdraw = {}; + +proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW = + "bet.beteran.c2se.frontend.member_bank_withdraw.CreateMemberBankWithdraw"; +proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_LIST_MEMBER_BANK_WITHDRAWS = + "bet.beteran.c2se.frontend.member_bank_withdraw.ListMemberBankWithdraws"; +proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_GET_MEMBER_BANK_WITHDRAW = + "bet.beteran.c2se.frontend.member_bank_withdraw.GetMemberBankWithdraw"; +proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW = + "bet.beteran.c2se.frontend.member_bank_withdraw.UpdateMemberBankWithdraw"; +proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_DELETE_MEMBER_BANK_WITHDRAW = + "bet.beteran.c2se.frontend.member_bank_withdraw.DeleteMemberBankWithdraw"; + +goog.object.extend( + exports, + proto.bet.beteran.c2se.frontend.member_bank_withdraw +); diff --git a/src/app/modules/proto/c2se/frontend/member_pb.d.ts b/src/app/modules/proto/c2se/frontend/member_pb.d.ts new file mode 100644 index 0000000..d4ffc11 --- /dev/null +++ b/src/app/modules/proto/c2se/frontend/member_pb.d.ts @@ -0,0 +1,11 @@ +// package: bet.beteran.c2se.frontend.member +// file: c2se/frontend/member.proto + +import * as jspb from 'google-protobuf'; + +export const SUBJECT_CREATE_MEMBER: string; +export const SUBJECT_GET_MEMBER: string; +export const SUBJECT_GET_MEMBER_BY_USERNAME: string; +export const SUBJECT_UPDATE_MEMBER: string; +export const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: string; +export const SUBJECT_DELETE_MEMBER: string; diff --git a/src/app/modules/proto/c2se/frontend/member_pb.js b/src/app/modules/proto/c2se/frontend/member_pb.js new file mode 100644 index 0000000..db39b0f --- /dev/null +++ b/src/app/modules/proto/c2se/frontend/member_pb.js @@ -0,0 +1,37 @@ +// source: c2se/frontend/member.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +goog.exportSymbol("proto.bet.beteran.c2se.frontend.member", null, global); + +proto.bet.beteran.c2se.frontend.member = {}; + +proto.bet.beteran.c2se.frontend.member.SUBJECT_CREATE_MEMBER = + "bet.beteran.c2se.frontend.member.CreateMember"; +proto.bet.beteran.c2se.frontend.member.SUBJECT_GET_MEMBER = + "bet.beteran.c2se.frontend.member.GetMember"; +proto.bet.beteran.c2se.frontend.member.SUBJECT_GET_MEMBER_BY_USERNAME = + "bet.beteran.c2se.frontend.member.GetMemberByUsername"; +proto.bet.beteran.c2se.frontend.member.SUBJECT_UPDATE_MEMBER = + "bet.beteran.c2se.frontend.member.UpdateMember"; +proto.bet.beteran.c2se.frontend.member.SUBJECT_UPDATE_MEMBER_FOR_PASSWORD = + "bet.beteran.c2se.frontend.member.UpdateMemberForPassword"; +proto.bet.beteran.c2se.frontend.member.SUBJECT_DELETE_MEMBER = + "bet.beteran.c2se.frontend.member.DeleteMember"; + +goog.object.extend(exports, proto.bet.beteran.c2se.frontend.member); diff --git a/src/app/modules/proto/c2se/member_bank_account_pb.d.ts b/src/app/modules/proto/c2se/member_bank_account_pb.d.ts index 9089256..e79c189 100644 --- a/src/app/modules/proto/c2se/member_bank_account_pb.d.ts +++ b/src/app/modules/proto/c2se/member_bank_account_pb.d.ts @@ -425,9 +425,6 @@ export class UpdateMemberBankAccountRequest extends jspb.Message { getAccountNumber(): string; setAccountNumber(value: string): void; - getExchangePassword(): string; - setExchangePassword(value: string): void; - hasMemo(): boolean; clearMemo(): void; getMemo(): string; @@ -460,7 +457,6 @@ export namespace UpdateMemberBankAccountRequest { bankId: string; name: string; accountNumber: string; - exchangePassword: string; memo: string; }; } @@ -538,6 +534,115 @@ export namespace UpdateMemberBankAccountResponse { } } +export class UpdateMemberBankAccountForExchangePasswordRequest extends jspb.Message { + getId(): string; + setId(value: string): void; + + getExchangePassword(): string; + setExchangePassword(value: string): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): UpdateMemberBankAccountForExchangePasswordRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankAccountForExchangePasswordRequest + ): UpdateMemberBankAccountForExchangePasswordRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankAccountForExchangePasswordRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): UpdateMemberBankAccountForExchangePasswordRequest; + static deserializeBinaryFromReader( + message: UpdateMemberBankAccountForExchangePasswordRequest, + reader: jspb.BinaryReader + ): UpdateMemberBankAccountForExchangePasswordRequest; +} + +export namespace UpdateMemberBankAccountForExchangePasswordRequest { + export type AsObject = { + id: string; + exchangePassword: string; + }; +} + +export class UpdateMemberBankAccountForExchangePasswordResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): + | UpdateMemberBankAccountForExchangePasswordResponse.Result + | undefined; + setResult( + value?: UpdateMemberBankAccountForExchangePasswordResponse.Result + ): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): UpdateMemberBankAccountForExchangePasswordResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankAccountForExchangePasswordResponse + ): UpdateMemberBankAccountForExchangePasswordResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankAccountForExchangePasswordResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): UpdateMemberBankAccountForExchangePasswordResponse; + static deserializeBinaryFromReader( + message: UpdateMemberBankAccountForExchangePasswordResponse, + reader: jspb.BinaryReader + ): UpdateMemberBankAccountForExchangePasswordResponse; +} + +export namespace UpdateMemberBankAccountForExchangePasswordResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberBankAccountForExchangePasswordResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Result.AsObject; + static toObject(includeInstance: boolean, msg: Result): Result.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Result, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = {}; + } +} + export class DeleteMemberBankAccountRequest extends jspb.Message { getId(): string; setId(value: string): void; diff --git a/src/app/modules/proto/c2se/member_bank_account_pb.js b/src/app/modules/proto/c2se/member_bank_account_pb.js index 7f0436d..c65c94d 100644 --- a/src/app/modules/proto/c2se/member_bank_account_pb.js +++ b/src/app/modules/proto/c2se/member_bank_account_pb.js @@ -88,6 +88,21 @@ goog.exportSymbol( null, global ); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result", + null, + global +); goog.exportSymbol( "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest", null, @@ -462,6 +477,87 @@ if (goog.DEBUG && !COMPILED) { proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.displayName = "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result"; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account + .UpdateMemberBankAccountForExchangePasswordRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.displayName = + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account + .UpdateMemberBankAccountForExchangePasswordResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.displayName = + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account + .UpdateMemberBankAccountForExchangePasswordResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result"; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -2888,8 +2984,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { bankId: jspb.Message.getFieldWithDefault(msg, 2, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), - exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""), - memo: jspb.Message.getFieldWithDefault(msg, 6, ""), + memo: jspb.Message.getFieldWithDefault(msg, 5, ""), }; if (includeInstance) { @@ -2947,10 +3042,6 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deseri msg.setAccountNumber(value); break; case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setExchangePassword(value); - break; - case 6: var value = /** @type {string} */ (reader.readString()); msg.setMemo(value); break; @@ -3002,13 +3093,9 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serial if (f.length > 0) { writer.writeString(4, f); } - f = message.getExchangePassword(); - if (f.length > 0) { - writer.writeString(5, f); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); + f = /** @type {string} */ (jspb.Message.getField(message, 5)); if (f != null) { - writer.writeString(6, f); + writer.writeString(5, f); } }; @@ -3093,43 +3180,23 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.protot }; /** - * optional string exchange_password = 5; + * optional string memo = 5; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getExchangePassword = +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getMemo = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 5, "") ); }; -/** - * @param {string} value - * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this - */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setExchangePassword = - function (value) { - return jspb.Message.setProto3StringField(this, 5, value); - }; - -/** - * optional string memo = 6; - * @return {string} - */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getMemo = - function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 6, "") - ); - }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this */ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setMemo = function (value) { - return jspb.Message.setField(this, 6, value); + return jspb.Message.setField(this, 5, value); }; /** @@ -3138,7 +3205,7 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.protot */ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.clearMemo = function () { - return jspb.Message.setField(this, 6, undefined); + return jspb.Message.setField(this, 5, undefined); }; /** @@ -3147,7 +3214,7 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.protot */ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.hasMemo = function () { - return jspb.Message.getField(this, 6) != null; + return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { @@ -3553,6 +3620,510 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.proto return jspb.Message.getField(this, 2) != null; }; +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + exchangePassword: jspb.Message.getFieldWithDefault(msg, 2, ""), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest(); + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setExchangePassword(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getExchangePassword(); + if (f.length > 0) { + writer.writeString(2, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} returns this + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional string exchange_password = 2; + * @return {string} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.getExchangePassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest} returns this + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordRequest.prototype.setExchangePassword = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.toObject = + function (includeInstance, msg) { + var f, + obj = { + error: + (f = msg.getError()) && + protobuf_rpc_pb.Error.toObject(includeInstance, f), + result: + (f = msg.getResult()) && + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.toObject( + includeInstance, + f + ), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse(); + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new protobuf_rpc_pb.Error(); + reader.readMessage( + value, + protobuf_rpc_pb.Error.deserializeBinaryFromReader + ); + msg.setError(value); + break; + case 2: + var value = + new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_account + .UpdateMemberBankAccountForExchangePasswordResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getError(); + if (f != null) { + writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter); + } + f = message.getResult(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.bet.beteran.c2se.member_bank_account + .UpdateMemberBankAccountForExchangePasswordResponse.Result + .serializeBinaryToWriter + ); + } + }; + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = {}; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result(); + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + }; + +/** + * optional bet.protobuf.rpc.Error error = 1; + * @return {?proto.bet.protobuf.rpc.Error} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.getError = + function () { + return /** @type{?proto.bet.protobuf.rpc.Error} */ ( + jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1) + ); + }; + +/** + * @param {?proto.bet.protobuf.rpc.Error|undefined} value + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} returns this + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} returns this + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_account + .UpdateMemberBankAccountForExchangePasswordResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} returns this + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse} returns this + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountForExchangePasswordResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. diff --git a/src/app/modules/proto/c2se/member_pb.d.ts b/src/app/modules/proto/c2se/member_pb.d.ts index e77f057..78494fe 100644 --- a/src/app/modules/proto/c2se/member_pb.d.ts +++ b/src/app/modules/proto/c2se/member_pb.d.ts @@ -100,6 +100,11 @@ export namespace CreateMemberRequest { getExchangePassword(): string; setExchangePassword(value: string): void; + hasMemo(): boolean; + clearMemo(): void; + getMemo(): string; + setMemo(value: string): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): BankAccount.AsObject; static toObject( @@ -127,6 +132,7 @@ export namespace CreateMemberRequest { name: string; accountNumber: string; exchangePassword: string; + memo: string; }; } @@ -782,11 +788,6 @@ export class UpdateMemberRequest extends jspb.Message { getMemberLevelId(): string; setMemberLevelId(value: string): void; - hasPassword(): boolean; - clearPassword(): void; - getPassword(): string; - setPassword(value: string): void; - hasMobilePhoneNumber(): boolean; clearMobilePhoneNumber(): void; getMobilePhoneNumber(): string; @@ -833,7 +834,6 @@ export namespace UpdateMemberRequest { id: string; siteId: string; memberLevelId: string; - password: string; mobilePhoneNumber: string; bankAccount?: UpdateMemberRequest.BankAccount.AsObject; gameSetting?: UpdateMemberRequest.GameSetting.AsObject; @@ -853,8 +853,10 @@ export namespace UpdateMemberRequest { getAccountNumber(): string; setAccountNumber(value: string): void; - getExchangePassword(): string; - setExchangePassword(value: string): void; + hasMemo(): boolean; + clearMemo(): void; + getMemo(): string; + setMemo(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): BankAccount.AsObject; @@ -883,7 +885,7 @@ export namespace UpdateMemberRequest { bankId: string; name: string; accountNumber: string; - exchangePassword: string; + memo: string; }; } @@ -1127,6 +1129,103 @@ export namespace UpdateMemberResponse { } } +export class UpdateMemberForPasswordRequest extends jspb.Message { + getId(): string; + setId(value: string): void; + + getPassword(): string; + setPassword(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UpdateMemberForPasswordRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberForPasswordRequest + ): UpdateMemberForPasswordRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberForPasswordRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): UpdateMemberForPasswordRequest; + static deserializeBinaryFromReader( + message: UpdateMemberForPasswordRequest, + reader: jspb.BinaryReader + ): UpdateMemberForPasswordRequest; +} + +export namespace UpdateMemberForPasswordRequest { + export type AsObject = { + id: string; + password: string; + }; +} + +export class UpdateMemberForPasswordResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): UpdateMemberForPasswordResponse.Result | undefined; + setResult(value?: UpdateMemberForPasswordResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UpdateMemberForPasswordResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberForPasswordResponse + ): UpdateMemberForPasswordResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberForPasswordResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): UpdateMemberForPasswordResponse; + static deserializeBinaryFromReader( + message: UpdateMemberForPasswordResponse, + reader: jspb.BinaryReader + ): UpdateMemberForPasswordResponse; +} + +export namespace UpdateMemberForPasswordResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberForPasswordResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Result.AsObject; + static toObject(includeInstance: boolean, msg: Result): Result.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Result, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = {}; + } +} + export class UpdateMemberForStateRequest extends jspb.Message { getId(): string; setId(value: string): void; diff --git a/src/app/modules/proto/c2se/member_pb.js b/src/app/modules/proto/c2se/member_pb.js index 54ca16a..8866fb6 100644 --- a/src/app/modules/proto/c2se/member_pb.js +++ b/src/app/modules/proto/c2se/member_pb.js @@ -120,6 +120,21 @@ goog.exportSymbol( null, global ); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result", + null, + global +); goog.exportSymbol( "proto.bet.beteran.c2se.member.UpdateMemberForStateRequest", null, @@ -725,6 +740,86 @@ if (goog.DEBUG && !COMPILED) { proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.displayName = "proto.bet.beteran.c2se.member.UpdateMemberResponse.Result"; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result"; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -1173,6 +1268,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { name: jspb.Message.getFieldWithDefault(msg, 2, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""), + memo: jspb.Message.getFieldWithDefault(msg, 5, ""), }; if (includeInstance) { @@ -1229,6 +1325,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinaryF var value = /** @type {string} */ (reader.readString()); msg.setExchangePassword(value); break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; default: reader.skipField(); break; @@ -1277,6 +1377,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.serializeBinaryToW if (f.length > 0) { writer.writeString(4, f); } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString(5, f); + } }; /** @@ -1359,6 +1463,44 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setExcha return jspb.Message.setProto3StringField(this, 4, value); }; +/** + * optional string memo = 5; + * @return {string} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 5, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 5, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 5) != null; + }; + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -5537,8 +5679,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { id: jspb.Message.getFieldWithDefault(msg, 1, ""), siteId: jspb.Message.getFieldWithDefault(msg, 2, ""), memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), - password: jspb.Message.getFieldWithDefault(msg, 4, ""), - mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), + mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), bankAccount: (f = msg.getBankAccount()) && proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject( @@ -5610,14 +5751,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader = msg.setMemberLevelId(value); break; case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setPassword(value); - break; - case 5: var value = /** @type {string} */ (reader.readString()); msg.setMobilePhoneNumber(value); break; - case 6: + case 5: var value = new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount(); reader.readMessage( @@ -5627,7 +5764,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader = ); msg.setBankAccount(value); break; - case 7: + case 6: var value = new proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting(); reader.readMessage( @@ -5637,7 +5774,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader = ); msg.setGameSetting(value); break; - case 8: + case 7: var value = new proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting(); reader.readMessage( @@ -5695,14 +5832,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter = if (f != null) { writer.writeString(4, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString(5, f); - } f = message.getBankAccount(); if (f != null) { writer.writeMessage( - 6, + 5, f, proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount .serializeBinaryToWriter @@ -5711,7 +5844,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter = f = message.getGameSetting(); if (f != null) { writer.writeMessage( - 7, + 6, f, proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting .serializeBinaryToWriter @@ -5720,7 +5853,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter = f = message.getSettlementSetting(); if (f != null) { writer.writeMessage( - 8, + 7, f, proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting .serializeBinaryToWriter @@ -5766,7 +5899,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { bankId: jspb.Message.getFieldWithDefault(msg, 2, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), - exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""), + memo: jspb.Message.getFieldWithDefault(msg, 5, ""), }; if (includeInstance) { @@ -5825,7 +5958,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryF break; case 5: var value = /** @type {string} */ (reader.readString()); - msg.setExchangePassword(value); + msg.setMemo(value); break; default: reader.skipField(); @@ -5875,8 +6008,8 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToW if (f.length > 0) { writer.writeString(4, f); } - f = message.getExchangePassword(); - if (f.length > 0) { + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { writer.writeString(5, f); } }; @@ -5962,10 +6095,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setAccou }; /** - * optional string exchange_password = 5; + * optional string memo = 5; * @return {string} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword = +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getMemo = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 5, "") @@ -5976,9 +6109,27 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExcha * @param {string} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExchangePassword = +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setMemo = function (value) { - return jspb.Message.setProto3StringField(this, 5, value); + return jspb.Message.setField(this, 5, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 5, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { @@ -7187,10 +7338,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMemberLevelId = }; /** - * optional string password = 4; + * optional string mobile_phone_number = 4; * @return {string} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword = +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMobilePhoneNumber = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 4, "") @@ -7201,7 +7352,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword = * @param {string} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setPassword = +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMobilePhoneNumber = function (value) { return jspb.Message.setField(this, 4, value); }; @@ -7210,7 +7361,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setPassword = * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearPassword = +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMobilePhoneNumber = function () { return jspb.Message.setField(this, 4, undefined); }; @@ -7219,51 +7370,13 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearPassword = * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasPassword = +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber = function () { return jspb.Message.getField(this, 4) != null; }; /** - * optional string mobile_phone_number = 5; - * @return {string} - */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMobilePhoneNumber = - function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 5, "") - ); - }; - -/** - * @param {string} value - * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this - */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMobilePhoneNumber = - function (value) { - return jspb.Message.setField(this, 5, value); - }; - -/** - * Clears the field making it undefined. - * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this - */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMobilePhoneNumber = - function () { - return jspb.Message.setField(this, 5, undefined); - }; - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber = - function () { - return jspb.Message.getField(this, 5) != null; - }; - -/** - * optional BankAccount bank_account = 6; + * optional BankAccount bank_account = 5; * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount = @@ -7272,7 +7385,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount = jspb.Message.getWrapperField( this, proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount, - 6 + 5 ) ); }; @@ -7283,7 +7396,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount = */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setBankAccount = function (value) { - return jspb.Message.setWrapperField(this, 6, value); + return jspb.Message.setWrapperField(this, 5, value); }; /** @@ -7301,11 +7414,11 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearBankAccount = */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasBankAccount = function () { - return jspb.Message.getField(this, 6) != null; + return jspb.Message.getField(this, 5) != null; }; /** - * optional GameSetting game_setting = 7; + * optional GameSetting game_setting = 6; * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting = @@ -7314,7 +7427,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting = jspb.Message.getWrapperField( this, proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting, - 7 + 6 ) ); }; @@ -7325,7 +7438,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting = */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setGameSetting = function (value) { - return jspb.Message.setWrapperField(this, 7, value); + return jspb.Message.setWrapperField(this, 6, value); }; /** @@ -7343,11 +7456,11 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearGameSetting = */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasGameSetting = function () { - return jspb.Message.getField(this, 7) != null; + return jspb.Message.getField(this, 6) != null; }; /** - * optional SettlementSetting settlement_setting = 8; + * optional SettlementSetting settlement_setting = 7; * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting = @@ -7356,7 +7469,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting jspb.Message.getWrapperField( this, proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting, - 8 + 7 ) ); }; @@ -7367,7 +7480,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setSettlementSetting = function (value) { - return jspb.Message.setWrapperField(this, 8, value); + return jspb.Message.setWrapperField(this, 7, value); }; /** @@ -7385,7 +7498,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearSettlementSetti */ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasSettlementSetting = function () { - return jspb.Message.getField(this, 8) != null; + return jspb.Message.getField(this, 7) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { @@ -7781,6 +7894,507 @@ proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.hasResult = return jspb.Message.getField(this, 2) != null; }; +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + password: jspb.Message.getFieldWithDefault(msg, 2, ""), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest(); + return proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPassword(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getPassword(); + if (f.length > 0) { + writer.writeString(2, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional string password = 2; + * @return {string} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.getPassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordRequest.prototype.setPassword = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.toObject = + function (includeInstance, msg) { + var f, + obj = { + error: + (f = msg.getError()) && + protobuf_rpc_pb.Error.toObject(includeInstance, f), + result: + (f = msg.getResult()) && + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.toObject( + includeInstance, + f + ), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse(); + return proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new protobuf_rpc_pb.Error(); + reader.readMessage( + value, + protobuf_rpc_pb.Error.deserializeBinaryFromReader + ); + msg.setError(value); + break; + case 2: + var value = + new proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getError(); + if (f != null) { + writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter); + } + f = message.getResult(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result + .serializeBinaryToWriter + ); + } + }; + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = {}; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result(); + return proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + }; + +/** + * optional bet.protobuf.rpc.Error error = 1; + * @return {?proto.bet.protobuf.rpc.Error} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.getError = + function () { + return /** @type{?proto.bet.protobuf.rpc.Error} */ ( + jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1) + ); + }; + +/** + * @param {?proto.bet.protobuf.rpc.Error|undefined} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberForPasswordResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto.