member, member_bank_account are modified

This commit is contained in:
병준 박 2022-08-24 05:58:58 +00:00
parent 39d9fc0f19
commit f0c8230f8e
21 changed files with 1815 additions and 133 deletions

View File

@ -320,9 +320,7 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
siteId, siteId,
hodingGameMoney, hodingGameMoney,
} = this.memberDefaultForm.value; } = this.memberDefaultForm.value;
if (!!signinPw && signinPw == '') {
req.setPassword(signinPw);
}
if (!!levelId && levelId == '') { if (!!levelId && levelId == '') {
req.setMemberLevelId(levelId); req.setMemberLevelId(levelId);
} }
@ -349,7 +347,6 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
bank.setId(bankId); bank.setId(bankId);
bank.setAccountNumber(accountNumber); bank.setAccountNumber(accountNumber);
bank.setName(accountHolder); bank.setName(accountHolder);
bank.setExchangePassword(exchangePw);
} }
req.setBankAccount(bank); req.setBankAccount(bank);
} }

View File

@ -15,6 +15,10 @@ import {
UpdateMemberResponse, UpdateMemberResponse,
CreateMemberResponse, CreateMemberResponse,
CreateMemberRequest, CreateMemberRequest,
UpdateMemberForPasswordRequest,
UpdateMemberForPasswordResponse,
UpdateMemberForStateRequest,
UpdateMemberForStateResponse,
} from 'app/modules/proto/c2se/member_pb'; } from 'app/modules/proto/c2se/member_pb';
import { import {
SUBJECT_LIST_MEMBERS, SUBJECT_LIST_MEMBERS,
@ -136,6 +140,52 @@ export class MemberService {
}); });
} }
updateMemberForPassword(
req: UpdateMemberForPasswordRequest
): Promise<UpdateMemberForPasswordResponse.Result> {
return new Promise<UpdateMemberForPasswordResponse.Result>(
(resolve, reject) => {
this.__natsService
.request<UpdateMemberForPasswordResponse.Result>(
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<UpdateMemberForStateResponse.Result> {
return new Promise<UpdateMemberForStateResponse.Result>(
(resolve, reject) => {
this.__natsService
.request<UpdateMemberForStateResponse.Result>(
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 // siteId: 8429a7ab-b9de-400b-a209-28ff46e22bec
// classId: 4b014ef5-3bab-4413-aaf9-b0040a70ec77 // classId: 4b014ef5-3bab-4413-aaf9-b0040a70ec77
// levelId: c56231ac-2120-4a81-a30a-5d41fafb6c57 // levelId: c56231ac-2120-4a81-a30a-5d41fafb6c57

View File

@ -15,6 +15,7 @@ import {
DeleteMemberBankAccountResponse, DeleteMemberBankAccountResponse,
GetMemberBankAccountResponse, GetMemberBankAccountResponse,
GetMemberBankAccountRequest, GetMemberBankAccountRequest,
UpdateMemberBankAccountForExchangePasswordResponse,
} from 'app/modules/proto/c2se/member_bank_account_pb'; } from 'app/modules/proto/c2se/member_bank_account_pb';
import { import {
SUBJECT_LIST_MEMBER_BANK_ACCOUNTS, SUBJECT_LIST_MEMBER_BANK_ACCOUNTS,
@ -133,6 +134,29 @@ export class MemberBankAccountService {
); );
} }
updateMemberBankAccountForExchangePassword(): Promise<UpdateMemberBankAccountForExchangePasswordResponse.Result> {
return new Promise<UpdateMemberBankAccountForExchangePasswordResponse.Result>(
(resolve, reject) => {
let req = new UpdateMemberBankAccountForExchangePasswordResponse();
this.__natsService
.request<UpdateMemberBankAccountForExchangePasswordResponse.Result>(
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<DeleteMemberBankAccountResponse.Result> { deleteMemberBankAccount(): Promise<DeleteMemberBankAccountResponse.Result> {
return new Promise<DeleteMemberBankAccountResponse.Result>( return new Promise<DeleteMemberBankAccountResponse.Result>(
(resolve, reject) => { (resolve, reject) => {

View File

@ -7,4 +7,5 @@ export const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: string;
export const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: string; export const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: string;
export const SUBJECT_GET_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: string;
export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: string;
export const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: string; export const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: string;

View File

@ -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"; "bet.beteran.c2se.backend.member_bank_account.GetMemberBankAccount";
proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT = proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT =
"bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccount"; "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 = proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_DELETE_MEMBER_BANK_ACCOUNT =
"bet.beteran.c2se.backend.member_bank_account.DeleteMemberBankAccount"; "bet.beteran.c2se.backend.member_bank_account.DeleteMemberBankAccount";

View File

@ -17,6 +17,12 @@ var global = function () {
return this || window || global || self || Function("return this")(); return this || window || global || self || Function("return this")();
}.call(null); }.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 = {};
proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT = proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT =

View File

@ -17,6 +17,12 @@ var global = function () {
return this || window || global || self || Function("return this")(); return this || window || global || self || Function("return this")();
}.call(null); }.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 = {};
proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW = proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW =

View File

@ -8,4 +8,6 @@ export const SUBJECT_LIST_MEMBERS: string;
export const SUBJECT_GET_MEMBER: string; export const SUBJECT_GET_MEMBER: string;
export const SUBJECT_GET_MEMBER_BY_USERNAME: string; export const SUBJECT_GET_MEMBER_BY_USERNAME: string;
export const SUBJECT_UPDATE_MEMBER: 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; export const SUBJECT_DELETE_MEMBER: string;

View File

@ -31,6 +31,10 @@ proto.bet.beteran.c2se.backend.member.SUBJECT_GET_MEMBER_BY_USERNAME =
"bet.beteran.c2se.backend.member.GetMemberByUsername"; "bet.beteran.c2se.backend.member.GetMemberByUsername";
proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER = proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER =
"bet.beteran.c2se.backend.member.UpdateMember"; "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 = proto.bet.beteran.c2se.backend.member.SUBJECT_DELETE_MEMBER =
"bet.beteran.c2se.backend.member.DeleteMember"; "bet.beteran.c2se.backend.member.DeleteMember";

View File

@ -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;

View File

@ -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
);

View File

@ -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;

View File

@ -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
);

View File

@ -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;

View File

@ -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
);

View File

@ -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;

View File

@ -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);

View File

@ -425,9 +425,6 @@ export class UpdateMemberBankAccountRequest extends jspb.Message {
getAccountNumber(): string; getAccountNumber(): string;
setAccountNumber(value: string): void; setAccountNumber(value: string): void;
getExchangePassword(): string;
setExchangePassword(value: string): void;
hasMemo(): boolean; hasMemo(): boolean;
clearMemo(): void; clearMemo(): void;
getMemo(): string; getMemo(): string;
@ -460,7 +457,6 @@ export namespace UpdateMemberBankAccountRequest {
bankId: string; bankId: string;
name: string; name: string;
accountNumber: string; accountNumber: string;
exchangePassword: string;
memo: 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<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
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<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
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<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
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 { export class DeleteMemberBankAccountRequest extends jspb.Message {
getId(): string; getId(): string;
setId(value: string): void; setId(value: string): void;

View File

@ -88,6 +88,21 @@ goog.exportSymbol(
null, null,
global 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( goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest", "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest",
null, 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.displayName =
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result"; "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. * Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a * @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, ""), bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""), memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
}; };
if (includeInstance) { if (includeInstance) {
@ -2947,10 +3042,6 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deseri
msg.setAccountNumber(value); msg.setAccountNumber(value);
break; break;
case 5: case 5:
var value = /** @type {string} */ (reader.readString());
msg.setExchangePassword(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setMemo(value); msg.setMemo(value);
break; break;
@ -3002,13 +3093,9 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serial
if (f.length > 0) { if (f.length > 0) {
writer.writeString(4, f); writer.writeString(4, f);
} }
f = message.getExchangePassword(); f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f.length > 0) {
writer.writeString(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) { 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} * @return {string}
*/ */
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getExchangePassword = proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getMemo =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "") 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 * @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/ */
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setMemo = proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setMemo =
function (value) { 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 = proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.clearMemo =
function () { 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 = proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.hasMemo =
function () { function () {
return jspb.Message.getField(this, 6) != null; return jspb.Message.getField(this, 5) != null;
}; };
if (jspb.Message.GENERATE_TO_OBJECT) { 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; 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_<name>, 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_<name>, 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_<name>, 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) { if (jspb.Message.GENERATE_TO_OBJECT) {
/** /**
* Creates an object representation of this proto. * Creates an object representation of this proto.

View File

@ -100,6 +100,11 @@ export namespace CreateMemberRequest {
getExchangePassword(): string; getExchangePassword(): string;
setExchangePassword(value: string): void; setExchangePassword(value: string): void;
hasMemo(): boolean;
clearMemo(): void;
getMemo(): string;
setMemo(value: string): void;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BankAccount.AsObject; toObject(includeInstance?: boolean): BankAccount.AsObject;
static toObject( static toObject(
@ -127,6 +132,7 @@ export namespace CreateMemberRequest {
name: string; name: string;
accountNumber: string; accountNumber: string;
exchangePassword: string; exchangePassword: string;
memo: string;
}; };
} }
@ -782,11 +788,6 @@ export class UpdateMemberRequest extends jspb.Message {
getMemberLevelId(): string; getMemberLevelId(): string;
setMemberLevelId(value: string): void; setMemberLevelId(value: string): void;
hasPassword(): boolean;
clearPassword(): void;
getPassword(): string;
setPassword(value: string): void;
hasMobilePhoneNumber(): boolean; hasMobilePhoneNumber(): boolean;
clearMobilePhoneNumber(): void; clearMobilePhoneNumber(): void;
getMobilePhoneNumber(): string; getMobilePhoneNumber(): string;
@ -833,7 +834,6 @@ export namespace UpdateMemberRequest {
id: string; id: string;
siteId: string; siteId: string;
memberLevelId: string; memberLevelId: string;
password: string;
mobilePhoneNumber: string; mobilePhoneNumber: string;
bankAccount?: UpdateMemberRequest.BankAccount.AsObject; bankAccount?: UpdateMemberRequest.BankAccount.AsObject;
gameSetting?: UpdateMemberRequest.GameSetting.AsObject; gameSetting?: UpdateMemberRequest.GameSetting.AsObject;
@ -853,8 +853,10 @@ export namespace UpdateMemberRequest {
getAccountNumber(): string; getAccountNumber(): string;
setAccountNumber(value: string): void; setAccountNumber(value: string): void;
getExchangePassword(): string; hasMemo(): boolean;
setExchangePassword(value: string): void; clearMemo(): void;
getMemo(): string;
setMemo(value: string): void;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BankAccount.AsObject; toObject(includeInstance?: boolean): BankAccount.AsObject;
@ -883,7 +885,7 @@ export namespace UpdateMemberRequest {
bankId: string; bankId: string;
name: string; name: string;
accountNumber: 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<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
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<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
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<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
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 { export class UpdateMemberForStateRequest extends jspb.Message {
getId(): string; getId(): string;
setId(value: string): void; setId(value: string): void;

View File

@ -120,6 +120,21 @@ goog.exportSymbol(
null, null,
global 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( goog.exportSymbol(
"proto.bet.beteran.c2se.member.UpdateMemberForStateRequest", "proto.bet.beteran.c2se.member.UpdateMemberForStateRequest",
null, null,
@ -725,6 +740,86 @@ if (goog.DEBUG && !COMPILED) {
proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.displayName = proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.displayName =
"proto.bet.beteran.c2se.member.UpdateMemberResponse.Result"; "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. * Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a * @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, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""), exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""),
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
}; };
if (includeInstance) { if (includeInstance) {
@ -1229,6 +1325,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinaryF
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setExchangePassword(value); msg.setExchangePassword(value);
break; break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setMemo(value);
break;
default: default:
reader.skipField(); reader.skipField();
break; break;
@ -1277,6 +1377,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.serializeBinaryToW
if (f.length > 0) { if (f.length > 0) {
writer.writeString(4, f); 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); 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) { if (jspb.Message.GENERATE_TO_OBJECT) {
/** /**
* Creates an object representation of this proto. * Creates an object representation of this proto.
@ -5537,8 +5679,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
id: jspb.Message.getFieldWithDefault(msg, 1, ""), id: jspb.Message.getFieldWithDefault(msg, 1, ""),
siteId: jspb.Message.getFieldWithDefault(msg, 2, ""), siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
password: jspb.Message.getFieldWithDefault(msg, 4, ""), mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
bankAccount: bankAccount:
(f = msg.getBankAccount()) && (f = msg.getBankAccount()) &&
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject( proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject(
@ -5610,14 +5751,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
msg.setMemberLevelId(value); msg.setMemberLevelId(value);
break; break;
case 4: case 4:
var value = /** @type {string} */ (reader.readString());
msg.setPassword(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setMobilePhoneNumber(value); msg.setMobilePhoneNumber(value);
break; break;
case 6: case 5:
var value = var value =
new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount(); new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount();
reader.readMessage( reader.readMessage(
@ -5627,7 +5764,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
); );
msg.setBankAccount(value); msg.setBankAccount(value);
break; break;
case 7: case 6:
var value = var value =
new proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting(); new proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting();
reader.readMessage( reader.readMessage(
@ -5637,7 +5774,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
); );
msg.setGameSetting(value); msg.setGameSetting(value);
break; break;
case 8: case 7:
var value = var value =
new proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting(); new proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting();
reader.readMessage( reader.readMessage(
@ -5695,14 +5832,10 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
if (f != null) { if (f != null) {
writer.writeString(4, f); writer.writeString(4, f);
} }
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(5, f);
}
f = message.getBankAccount(); f = message.getBankAccount();
if (f != null) { if (f != null) {
writer.writeMessage( writer.writeMessage(
6, 5,
f, f,
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount
.serializeBinaryToWriter .serializeBinaryToWriter
@ -5711,7 +5844,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
f = message.getGameSetting(); f = message.getGameSetting();
if (f != null) { if (f != null) {
writer.writeMessage( writer.writeMessage(
7, 6,
f, f,
proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting
.serializeBinaryToWriter .serializeBinaryToWriter
@ -5720,7 +5853,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
f = message.getSettlementSetting(); f = message.getSettlementSetting();
if (f != null) { if (f != null) {
writer.writeMessage( writer.writeMessage(
8, 7,
f, f,
proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting
.serializeBinaryToWriter .serializeBinaryToWriter
@ -5766,7 +5899,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
bankId: jspb.Message.getFieldWithDefault(msg, 2, ""), bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""), memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
}; };
if (includeInstance) { if (includeInstance) {
@ -5825,7 +5958,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryF
break; break;
case 5: case 5:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setExchangePassword(value); msg.setMemo(value);
break; break;
default: default:
reader.skipField(); reader.skipField();
@ -5875,8 +6008,8 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToW
if (f.length > 0) { if (f.length > 0) {
writer.writeString(4, f); writer.writeString(4, f);
} }
f = message.getExchangePassword(); f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f.length > 0) { if (f != null) {
writer.writeString(5, f); 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} * @return {string}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getMemo =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "") jspb.Message.getFieldWithDefault(this, 5, "")
@ -5976,9 +6109,27 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExcha
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this * @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) { 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) { 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} * @return {string}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMobilePhoneNumber =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "") jspb.Message.getFieldWithDefault(this, 4, "")
@ -7201,7 +7352,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword =
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this * @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) { function (value) {
return jspb.Message.setField(this, 4, 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. * Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this * @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 () { function () {
return jspb.Message.setField(this, 4, undefined); 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. * Returns whether this field is set.
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasPassword = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber =
function () { function () {
return jspb.Message.getField(this, 4) != null; return jspb.Message.getField(this, 4) != null;
}; };
/** /**
* optional string mobile_phone_number = 5; * optional BankAccount bank_account = 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;
* @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount =
@ -7272,7 +7385,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount =
jspb.Message.getWrapperField( jspb.Message.getWrapperField(
this, this,
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount, 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 = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setBankAccount =
function (value) { 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 = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasBankAccount =
function () { 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} * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting =
@ -7314,7 +7427,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting =
jspb.Message.getWrapperField( jspb.Message.getWrapperField(
this, this,
proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting, 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 = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setGameSetting =
function (value) { 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 = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasGameSetting =
function () { 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} * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting =
@ -7356,7 +7469,7 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting
jspb.Message.getWrapperField( jspb.Message.getWrapperField(
this, this,
proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting, 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 = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setSettlementSetting =
function (value) { 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 = proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasSettlementSetting =
function () { function () {
return jspb.Message.getField(this, 8) != null; return jspb.Message.getField(this, 7) != null;
}; };
if (jspb.Message.GENERATE_TO_OBJECT) { 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; 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_<name>, 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_<name>, 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_<name>, 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) { if (jspb.Message.GENERATE_TO_OBJECT) {
/** /**
* Creates an object representation of this proto. * Creates an object representation of this proto.