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 8fda66b..9089256 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 @@ -1,10 +1,10 @@ // package: bet.beteran.c2se.member_bank_account // file: c2se/member_bank_account.proto -import * as jspb from "google-protobuf"; -import * as protobuf_rpc_pb from "../protobuf/rpc_pb"; -import * as protobuf_pagination_pb from "../protobuf/pagination_pb"; -import * as models_member_bank_account_pb from "../models/member_bank_account_pb"; +import * as jspb from 'google-protobuf'; +import * as protobuf_rpc_pb from '../protobuf/rpc_pb'; +import * as protobuf_pagination_pb from '../protobuf/pagination_pb'; +import * as models_member_bank_account_pb from '../models/member_bank_account_pb'; export class CreateMemberBankAccountRequest extends jspb.Message { getMemberId(): string; @@ -19,6 +19,9 @@ export class CreateMemberBankAccountRequest extends jspb.Message { getAccountNumber(): string; setAccountNumber(value: string): void; + getExchangePassword(): string; + setExchangePassword(value: string): void; + hasMemo(): boolean; clearMemo(): void; getMemo(): string; @@ -26,22 +29,34 @@ export class CreateMemberBankAccountRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberBankAccountRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberBankAccountRequest): CreateMemberBankAccountRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberBankAccountRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberBankAccountRequest + ): CreateMemberBankAccountRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberBankAccountRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberBankAccountRequest; - static deserializeBinaryFromReader(message: CreateMemberBankAccountRequest, reader: jspb.BinaryReader): CreateMemberBankAccountRequest; + static deserializeBinaryFromReader( + message: CreateMemberBankAccountRequest, + reader: jspb.BinaryReader + ): CreateMemberBankAccountRequest; } export namespace CreateMemberBankAccountRequest { export type AsObject = { - memberId: string, - bankId: string, - name: string, - accountNumber: string, - memo: string, - } + memberId: string; + bankId: string; + name: string; + accountNumber: string; + exchangePassword: string; + memo: string; + }; } export class CreateMemberBankAccountResponse extends jspb.Message { @@ -57,40 +72,63 @@ export class CreateMemberBankAccountResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberBankAccountResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberBankAccountResponse): CreateMemberBankAccountResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberBankAccountResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberBankAccountResponse + ): CreateMemberBankAccountResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberBankAccountResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberBankAccountResponse; - static deserializeBinaryFromReader(message: CreateMemberBankAccountResponse, reader: jspb.BinaryReader): CreateMemberBankAccountResponse; + static deserializeBinaryFromReader( + message: CreateMemberBankAccountResponse, + reader: jspb.BinaryReader + ): CreateMemberBankAccountResponse; } export namespace CreateMemberBankAccountResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: CreateMemberBankAccountResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateMemberBankAccountResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankAccount(): boolean; clearMemberBankAccount(): void; - getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined; - setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void; + getMemberBankAccount(): + | models_member_bank_account_pb.MemberBankAccount + | undefined; + setMemberBankAccount( + value?: models_member_bank_account_pb.MemberBankAccount + ): void; 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 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; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; } export namespace Result { export type AsObject = { - memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject, - } + memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject; + }; } } @@ -103,7 +141,10 @@ export class ListMemberBankAccountsRequest extends jspb.Message { clearSortsList(): void; getSortsList(): Array; setSortsList(value: Array): void; - addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort; + addSorts( + value?: protobuf_pagination_pb.Sort, + index?: number + ): protobuf_pagination_pb.Sort; hasSearch(): boolean; clearSearch(): void; @@ -112,20 +153,31 @@ export class ListMemberBankAccountsRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberBankAccountsRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberBankAccountsRequest): ListMemberBankAccountsRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberBankAccountsRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberBankAccountsRequest + ): ListMemberBankAccountsRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberBankAccountsRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberBankAccountsRequest; - static deserializeBinaryFromReader(message: ListMemberBankAccountsRequest, reader: jspb.BinaryReader): ListMemberBankAccountsRequest; + static deserializeBinaryFromReader( + message: ListMemberBankAccountsRequest, + reader: jspb.BinaryReader + ): ListMemberBankAccountsRequest; } export namespace ListMemberBankAccountsRequest { export type AsObject = { - pagination?: protobuf_pagination_pb.Pagination.AsObject, - sortsList: Array, - search?: ListMemberBankAccountsRequest.Search.AsObject, - } + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListMemberBankAccountsRequest.Search.AsObject; + }; export class Search extends jspb.Message { hasMemberId(): boolean; @@ -156,21 +208,29 @@ export namespace ListMemberBankAccountsRequest { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Search.AsObject; static toObject(includeInstance: boolean, msg: Search): Search.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Search, writer: jspb.BinaryWriter): void; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Search, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): Search; - static deserializeBinaryFromReader(message: Search, reader: jspb.BinaryReader): Search; + static deserializeBinaryFromReader( + message: Search, + reader: jspb.BinaryReader + ): Search; } export namespace Search { export type AsObject = { - memberId: string, - bankId: string, - nameLike: string, - accountNumberLike: string, - memoLike: string, - } + memberId: string; + bankId: string; + nameLike: string; + accountNumberLike: string; + memoLike: string; + }; } } @@ -187,40 +247,64 @@ export class ListMemberBankAccountsResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberBankAccountsResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberBankAccountsResponse): ListMemberBankAccountsResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberBankAccountsResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberBankAccountsResponse + ): ListMemberBankAccountsResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberBankAccountsResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberBankAccountsResponse; - static deserializeBinaryFromReader(message: ListMemberBankAccountsResponse, reader: jspb.BinaryReader): ListMemberBankAccountsResponse; + static deserializeBinaryFromReader( + message: ListMemberBankAccountsResponse, + reader: jspb.BinaryReader + ): ListMemberBankAccountsResponse; } export namespace ListMemberBankAccountsResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: ListMemberBankAccountsResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListMemberBankAccountsResponse.Result.AsObject; + }; export class Result extends jspb.Message { clearMemberBankAccountsList(): void; getMemberBankAccountsList(): Array; - setMemberBankAccountsList(value: Array): void; - addMemberBankAccounts(value?: models_member_bank_account_pb.MemberBankAccount, index?: number): models_member_bank_account_pb.MemberBankAccount; + setMemberBankAccountsList( + value: Array + ): void; + addMemberBankAccounts( + value?: models_member_bank_account_pb.MemberBankAccount, + index?: number + ): models_member_bank_account_pb.MemberBankAccount; 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 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; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; } export namespace Result { export type AsObject = { - memberBankAccountsList: Array, - } + memberBankAccountsList: Array; + }; } } @@ -230,18 +314,29 @@ export class GetMemberBankAccountRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberBankAccountRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberBankAccountRequest): GetMemberBankAccountRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberBankAccountRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberBankAccountRequest + ): GetMemberBankAccountRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberBankAccountRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberBankAccountRequest; - static deserializeBinaryFromReader(message: GetMemberBankAccountRequest, reader: jspb.BinaryReader): GetMemberBankAccountRequest; + static deserializeBinaryFromReader( + message: GetMemberBankAccountRequest, + reader: jspb.BinaryReader + ): GetMemberBankAccountRequest; } export namespace GetMemberBankAccountRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class GetMemberBankAccountResponse extends jspb.Message { @@ -257,40 +352,63 @@ export class GetMemberBankAccountResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberBankAccountResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberBankAccountResponse): GetMemberBankAccountResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberBankAccountResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberBankAccountResponse + ): GetMemberBankAccountResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberBankAccountResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberBankAccountResponse; - static deserializeBinaryFromReader(message: GetMemberBankAccountResponse, reader: jspb.BinaryReader): GetMemberBankAccountResponse; + static deserializeBinaryFromReader( + message: GetMemberBankAccountResponse, + reader: jspb.BinaryReader + ): GetMemberBankAccountResponse; } export namespace GetMemberBankAccountResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetMemberBankAccountResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberBankAccountResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankAccount(): boolean; clearMemberBankAccount(): void; - getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined; - setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void; + getMemberBankAccount(): + | models_member_bank_account_pb.MemberBankAccount + | undefined; + setMemberBankAccount( + value?: models_member_bank_account_pb.MemberBankAccount + ): void; 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 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; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; } export namespace Result { export type AsObject = { - memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject, - } + memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject; + }; } } @@ -307,6 +425,9 @@ export class UpdateMemberBankAccountRequest extends jspb.Message { getAccountNumber(): string; setAccountNumber(value: string): void; + getExchangePassword(): string; + setExchangePassword(value: string): void; + hasMemo(): boolean; clearMemo(): void; getMemo(): string; @@ -314,22 +435,34 @@ export class UpdateMemberBankAccountRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberBankAccountRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankAccountRequest): UpdateMemberBankAccountRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankAccountRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankAccountRequest + ): UpdateMemberBankAccountRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankAccountRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberBankAccountRequest; - static deserializeBinaryFromReader(message: UpdateMemberBankAccountRequest, reader: jspb.BinaryReader): UpdateMemberBankAccountRequest; + static deserializeBinaryFromReader( + message: UpdateMemberBankAccountRequest, + reader: jspb.BinaryReader + ): UpdateMemberBankAccountRequest; } export namespace UpdateMemberBankAccountRequest { export type AsObject = { - id: string, - bankId: string, - name: string, - accountNumber: string, - memo: string, - } + id: string; + bankId: string; + name: string; + accountNumber: string; + exchangePassword: string; + memo: string; + }; } export class UpdateMemberBankAccountResponse extends jspb.Message { @@ -345,40 +478,63 @@ export class UpdateMemberBankAccountResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberBankAccountResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankAccountResponse): UpdateMemberBankAccountResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankAccountResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankAccountResponse + ): UpdateMemberBankAccountResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankAccountResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberBankAccountResponse; - static deserializeBinaryFromReader(message: UpdateMemberBankAccountResponse, reader: jspb.BinaryReader): UpdateMemberBankAccountResponse; + static deserializeBinaryFromReader( + message: UpdateMemberBankAccountResponse, + reader: jspb.BinaryReader + ): UpdateMemberBankAccountResponse; } export namespace UpdateMemberBankAccountResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberBankAccountResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberBankAccountResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankAccount(): boolean; clearMemberBankAccount(): void; - getMemberBankAccount(): models_member_bank_account_pb.MemberBankAccount | undefined; - setMemberBankAccount(value?: models_member_bank_account_pb.MemberBankAccount): void; + getMemberBankAccount(): + | models_member_bank_account_pb.MemberBankAccount + | undefined; + setMemberBankAccount( + value?: models_member_bank_account_pb.MemberBankAccount + ): void; 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 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; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; } export namespace Result { export type AsObject = { - memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject, - } + memberBankAccount?: models_member_bank_account_pb.MemberBankAccount.AsObject; + }; } } @@ -388,18 +544,29 @@ export class DeleteMemberBankAccountRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberBankAccountRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberBankAccountRequest): DeleteMemberBankAccountRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberBankAccountRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberBankAccountRequest + ): DeleteMemberBankAccountRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberBankAccountRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberBankAccountRequest; - static deserializeBinaryFromReader(message: DeleteMemberBankAccountRequest, reader: jspb.BinaryReader): DeleteMemberBankAccountRequest; + static deserializeBinaryFromReader( + message: DeleteMemberBankAccountRequest, + reader: jspb.BinaryReader + ): DeleteMemberBankAccountRequest; } export namespace DeleteMemberBankAccountRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class DeleteMemberBankAccountResponse extends jspb.Message { @@ -415,34 +582,51 @@ export class DeleteMemberBankAccountResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberBankAccountResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberBankAccountResponse): DeleteMemberBankAccountResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberBankAccountResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberBankAccountResponse + ): DeleteMemberBankAccountResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberBankAccountResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberBankAccountResponse; - static deserializeBinaryFromReader(message: DeleteMemberBankAccountResponse, reader: jspb.BinaryReader): DeleteMemberBankAccountResponse; + static deserializeBinaryFromReader( + message: DeleteMemberBankAccountResponse, + reader: jspb.BinaryReader + ): DeleteMemberBankAccountResponse; } export namespace DeleteMemberBankAccountResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: DeleteMemberBankAccountResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteMemberBankAccountResponse.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 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; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; } export namespace Result { - export type AsObject = { - } + export type AsObject = {}; } } - 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 99e756f..7f0436d 100644 --- a/src/app/modules/proto/c2se/member_bank_account_pb.js +++ b/src/app/modules/proto/c2se/member_bank_account_pb.js @@ -11,32 +11,98 @@ /* eslint-disable */ // @ts-nocheck -var jspb = require('google-protobuf'); +var jspb = require("google-protobuf"); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); -var protobuf_rpc_pb = require('../protobuf/rpc_pb.js'); +var protobuf_rpc_pb = require("../protobuf/rpc_pb.js"); goog.object.extend(proto, protobuf_rpc_pb); -var protobuf_pagination_pb = require('../protobuf/pagination_pb.js'); +var protobuf_pagination_pb = require("../protobuf/pagination_pb.js"); goog.object.extend(proto, protobuf_pagination_pb); -var models_member_bank_account_pb = require('../models/member_bank_account_pb.js'); +var models_member_bank_account_pb = require("../models/member_bank_account_pb.js"); goog.object.extend(proto, models_member_bank_account_pb); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result', null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -47,16 +113,21 @@ goog.exportSymbol('proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAc * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest'; + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.displayName = + "proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest"; } /** * Generated by JsPbCodeGenerator. @@ -68,16 +139,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse'; + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.displayName = + "proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse"; } /** * Generated by JsPbCodeGenerator. @@ -89,16 +165,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result'; + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -110,16 +192,29 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest + .repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest'; + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.displayName = + "proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest"; } /** * Generated by JsPbCodeGenerator. @@ -131,16 +226,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest + .Search, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.displayName = 'proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search'; + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.displayName = + "proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search"; } /** * Generated by JsPbCodeGenerator. @@ -152,16 +253,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse'; + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.displayName = + "proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse"; } /** * Generated by JsPbCodeGenerator. @@ -173,16 +279,30 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse + .Result.repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result'; + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -194,16 +314,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest'; + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.displayName = + "proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest"; } /** * Generated by JsPbCodeGenerator. @@ -215,16 +340,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse'; + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.displayName = + "proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse"; } /** * Generated by JsPbCodeGenerator. @@ -236,16 +366,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result'; + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -257,16 +393,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest'; + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.displayName = + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest"; } /** * Generated by JsPbCodeGenerator. @@ -278,16 +419,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse'; + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.displayName = + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse"; } /** * Generated by JsPbCodeGenerator. @@ -299,16 +445,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - 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.displayName = + "proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -320,16 +472,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest'; + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.displayName = + "proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest"; } /** * Generated by JsPbCodeGenerator. @@ -341,16 +498,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse'; + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.displayName = + "proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse"; } /** * Generated by JsPbCodeGenerator. @@ -362,75 +524,88 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result'; + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result"; } - - 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.CreateMemberBankAccountRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.toObject(opt_includeInstance, this); -}; + /** + * 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.CreateMemberBankAccountRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.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.CreateMemberBankAccountRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), + 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, ""), + }; -/** - * 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.CreateMemberBankAccountRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.toObject = function(includeInstance, msg) { - var f, obj = { - memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), - bankId: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), - memo: jspb.Message.getFieldWithDefault(msg, 5, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return 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.CreateMemberBankAccountRequest} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest; - return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest(); + return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -439,52 +614,59 @@ proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.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.setMemberId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setBankId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + 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; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setBankId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setAccountNumber(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -493,209 +675,240 @@ proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getBankId(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getAccountNumber(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getBankId(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = message.getAccountNumber(); + 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)); + if (f != null) { + writer.writeString(6, f); + } + }; /** * optional string member_id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getMemberId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setMemberId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setMemberId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string bank_id = 2; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getBankId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getBankId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setBankId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setBankId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional string name = 3; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional string account_number = 4; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getAccountNumber = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setAccountNumber = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); + }; /** - * optional string memo = 5; + * optional string exchange_password = 5; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getExchangePassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setMemo = function(value) { - return jspb.Message.setField(this, 5, value); -}; +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setExchangePassword = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; +/** + * optional string memo = 6; + * @return {string} + */ +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this + */ +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 6, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 6, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.hasMemo = function() { - return jspb.Message.getField(this, 5) != 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.CreateMemberBankAccountResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 6) != null; }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.CreateMemberBankAccountResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse; - return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse(); + return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -704,42 +917,54 @@ proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deser * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_account + .CreateMemberBankAccountResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + 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.CreateMemberBankAccountResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinaryFromReader); - msg.setResult(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -748,81 +973,88 @@ proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.proto * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankAccount: (f = msg.getMemberBankAccount()) && models_member_bank_account_pb.MemberBankAccount.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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 + .CreateMemberBankAccountResponse.Result.serializeBinaryToWriter + ); + } }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.CreateMemberBankAccountResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankAccount: + (f = msg.getMemberBankAccount()) && + models_member_bank_account_pb.MemberBankAccount.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.CreateMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result; - return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result(); + return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -831,37 +1063,44 @@ proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Resul * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_member_bank_account_pb.MemberBankAccount(); + reader.readMessage( + value, + models_member_bank_account_pb.MemberBankAccount + .deserializeBinaryFromReader + ); + msg.setMemberBankAccount(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_account_pb.MemberBankAccount; - reader.readMessage(value,models_member_bank_account_pb.MemberBankAccount.deserializeBinaryFromReader); - msg.setMemberBankAccount(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -870,194 +1109,222 @@ proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Resul * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankAccount(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankAccount(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1; * @return {?proto.bet.beteran.member_bank_account.MemberBankAccount} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.getMemberBankAccount = function() { - return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ ( - jspb.Message.getWrapperField(this, models_member_bank_account_pb.MemberBankAccount, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.getMemberBankAccount = + function () { + return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_account_pb.MemberBankAccount, + 1 + ) + ); + }; /** * @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.setMemberBankAccount = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.setMemberBankAccount = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = function() { - return this.setMemberBankAccount(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = + function () { + return this.setMemberBankAccount(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_account + .CreateMemberBankAccountResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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.CreateMemberBankAccountResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.repeatedFields_ = [2]; - - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.repeatedFields_ = + [2]; 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.ListMemberBankAccountsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.toObject(opt_includeInstance, this); -}; + /** + * 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.ListMemberBankAccountsRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.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.ListMemberBankAccountsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + pagination: + (f = msg.getPagination()) && + protobuf_pagination_pb.Pagination.toObject(includeInstance, f), + sortsList: jspb.Message.toObjectList( + msg.getSortsList(), + protobuf_pagination_pb.Sort.toObject, + includeInstance + ), + search: + (f = msg.getSearch()) && + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.toObject( + includeInstance, + f + ), + }; -/** - * 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.ListMemberBankAccountsRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.toObject = function(includeInstance, msg) { - var f, obj = { - pagination: (f = msg.getPagination()) && protobuf_pagination_pb.Pagination.toObject(includeInstance, f), - sortsList: jspb.Message.toObjectList(msg.getSortsList(), - protobuf_pagination_pb.Sort.toObject, includeInstance), - search: (f = msg.getSearch()) && proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return 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.ListMemberBankAccountsRequest} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest; - return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest(); + return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1066,47 +1333,61 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deseria * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new protobuf_pagination_pb.Pagination(); + reader.readMessage( + value, + protobuf_pagination_pb.Pagination.deserializeBinaryFromReader + ); + msg.setPagination(value); + break; + case 2: + var value = new protobuf_pagination_pb.Sort(); + reader.readMessage( + value, + protobuf_pagination_pb.Sort.deserializeBinaryFromReader + ); + msg.addSorts(value); + break; + case 3: + var value = + new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_account + .ListMemberBankAccountsRequest.Search.deserializeBinaryFromReader + ); + msg.setSearch(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new protobuf_pagination_pb.Pagination; - reader.readMessage(value,protobuf_pagination_pb.Pagination.deserializeBinaryFromReader); - msg.setPagination(value); - break; - case 2: - var value = new protobuf_pagination_pb.Sort; - reader.readMessage(value,protobuf_pagination_pb.Sort.deserializeBinaryFromReader); - msg.addSorts(value); - break; - case 3: - var value = new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinaryFromReader); - msg.setSearch(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1115,93 +1396,99 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototy * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getPagination(); - if (f != null) { - writer.writeMessage( - 1, - f, - protobuf_pagination_pb.Pagination.serializeBinaryToWriter - ); - } - f = message.getSortsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - protobuf_pagination_pb.Sort.serializeBinaryToWriter - ); - } - f = message.getSearch(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.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.ListMemberBankAccountsRequest.Search.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.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.ListMemberBankAccountsRequest.Search} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.toObject = function(includeInstance, msg) { - var f, obj = { - memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), - bankId: jspb.Message.getFieldWithDefault(msg, 2, ""), - nameLike: jspb.Message.getFieldWithDefault(msg, 3, ""), - accountNumberLike: jspb.Message.getFieldWithDefault(msg, 4, ""), - memoLike: jspb.Message.getFieldWithDefault(msg, 5, "") +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getPagination(); + if (f != null) { + writer.writeMessage( + 1, + f, + protobuf_pagination_pb.Pagination.serializeBinaryToWriter + ); + } + f = message.getSortsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + protobuf_pagination_pb.Sort.serializeBinaryToWriter + ); + } + f = message.getSearch(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest + .Search.serializeBinaryToWriter + ); + } }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.ListMemberBankAccountsRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.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.ListMemberBankAccountsRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), + bankId: jspb.Message.getFieldWithDefault(msg, 2, ""), + nameLike: jspb.Message.getFieldWithDefault(msg, 3, ""), + accountNumberLike: jspb.Message.getFieldWithDefault(msg, 4, ""), + memoLike: jspb.Message.getFieldWithDefault(msg, 5, ""), + }; + + 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.ListMemberBankAccountsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search; - return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search(); + return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1210,52 +1497,55 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.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.setMemberId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setBankId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setNameLike(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setAccountNumberLike(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setMemoLike(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setBankId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setNameLike(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setAccountNumberLike(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setMemoLike(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1264,393 +1554,414 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search. * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString(1, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString(2, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString(3, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString(4, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString(5, f); + } + }; /** * optional string member_id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getMemberId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setMemberId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setMemberId = + function (value) { + return jspb.Message.setField(this, 1, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearMemberId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearMemberId = + function () { + return jspb.Message.setField(this, 1, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasMemberId = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasMemberId = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional string bank_id = 2; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getBankId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getBankId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setBankId = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setBankId = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearBankId = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearBankId = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasBankId = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasBankId = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional string name_like = 3; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getNameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getNameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setNameLike = function(value) { - return jspb.Message.setField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setNameLike = + function (value) { + return jspb.Message.setField(this, 3, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearNameLike = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearNameLike = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasNameLike = function() { - return jspb.Message.getField(this, 3) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasNameLike = + function () { + return jspb.Message.getField(this, 3) != null; + }; /** * optional string account_number_like = 4; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getAccountNumberLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getAccountNumberLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setAccountNumberLike = function(value) { - return jspb.Message.setField(this, 4, value); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setAccountNumberLike = + function (value) { + return jspb.Message.setField(this, 4, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearAccountNumberLike = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearAccountNumberLike = + function () { + return jspb.Message.setField(this, 4, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasAccountNumberLike = function() { - return jspb.Message.getField(this, 4) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasAccountNumberLike = + function () { + return jspb.Message.getField(this, 4) != null; + }; /** * optional string memo_like = 5; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getMemoLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getMemoLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setMemoLike = function(value) { - return jspb.Message.setField(this, 5, value); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setMemoLike = + function (value) { + return jspb.Message.setField(this, 5, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearMemoLike = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearMemoLike = + function () { + return jspb.Message.setField(this, 5, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasMemoLike = function() { - return jspb.Message.getField(this, 5) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasMemoLike = + function () { + return jspb.Message.getField(this, 5) != null; + }; /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getPagination = function() { - return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( - jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getPagination = + function () { + return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( + jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1) + ); + }; /** * @param {?proto.bet.protobuf.pagination.Pagination|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setPagination = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setPagination = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearPagination = function() { - return this.setPagination(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.hasPagination = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.hasPagination = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * repeated bet.protobuf.pagination.Sort sorts = 2; * @return {!Array} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getSortsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getSortsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setSortsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setSortsList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); + }; /** * @param {!proto.bet.protobuf.pagination.Sort=} opt_value * @param {number=} opt_index * @return {!proto.bet.protobuf.pagination.Sort} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.addSorts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bet.protobuf.pagination.Sort, opt_index); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.addSorts = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 2, + opt_value, + proto.bet.protobuf.pagination.Sort, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearSortsList = function() { - return this.setSortsList([]); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getSearch = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search, 3)); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getSearch = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest + .Search, + 3 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setSearch = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setSearch = + function (value) { + return jspb.Message.setWrapperField(this, 3, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearSearch = function() { - return this.setSearch(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.hasSearch = function() { - return jspb.Message.getField(this, 3) != 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.ListMemberBankAccountsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.hasSearch = + function () { + return jspb.Message.getField(this, 3) != null; }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.ListMemberBankAccountsResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse; - return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse(); + return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1659,42 +1970,53 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_account + .ListMemberBankAccountsResponse.Result.deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + 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.ListMemberBankAccountsResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinaryFromReader); - msg.setResult(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1703,89 +2025,95 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter - ); - } -}; - - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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 + .ListMemberBankAccountsResponse.Result.serializeBinaryToWriter + ); + } + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.repeatedFields_ = [1]; - - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.repeatedFields_ = + [1]; 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.ListMemberBankAccountsResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.toObject(opt_includeInstance, this); -}; + /** + * 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.ListMemberBankAccountsResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankAccountsList: jspb.Message.toObjectList( + msg.getMemberBankAccountsList(), + models_member_bank_account_pb.MemberBankAccount.toObject, + includeInstance + ), + }; -/** - * 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.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankAccountsList: jspb.Message.toObjectList(msg.getMemberBankAccountsList(), - models_member_bank_account_pb.MemberBankAccount.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return 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.ListMemberBankAccountsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result; - return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result(); + return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1794,37 +2122,44 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_member_bank_account_pb.MemberBankAccount(); + reader.readMessage( + value, + models_member_bank_account_pb.MemberBankAccount + .deserializeBinaryFromReader + ); + msg.addMemberBankAccounts(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_account_pb.MemberBankAccount; - reader.readMessage(value,models_member_bank_account_pb.MemberBankAccount.deserializeBinaryFromReader); - msg.addMemberBankAccounts(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1833,185 +2168,208 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankAccountsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankAccountsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter + ); + } + }; /** * repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 1; * @return {!Array} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.getMemberBankAccountsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_member_bank_account_pb.MemberBankAccount, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.getMemberBankAccountsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField( + this, + models_member_bank_account_pb.MemberBankAccount, + 1 + ) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.setMemberBankAccountsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.setMemberBankAccountsList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); + }; /** * @param {!proto.bet.beteran.member_bank_account.MemberBankAccount=} opt_value * @param {number=} opt_index * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.addMemberBankAccounts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.member_bank_account.MemberBankAccount, opt_index); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.addMemberBankAccounts = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 1, + opt_value, + proto.bet.beteran.member_bank_account.MemberBankAccount, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.clearMemberBankAccountsList = function() { - return this.setMemberBankAccountsList([]); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.clearMemberBankAccountsList = + function () { + return this.setMemberBankAccountsList([]); + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_account + .ListMemberBankAccountsResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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.ListMemberBankAccountsResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.hasResult = function() { - 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.GetMemberBankAccountRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.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.GetMemberBankAccountRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.GetMemberBankAccountRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.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.GetMemberBankAccountRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + }; + + 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.GetMemberBankAccountRequest} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest; - return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest(); + return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2020,36 +2378,39 @@ proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deseriali * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.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; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2058,91 +2419,102 @@ proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, 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.GetMemberBankAccountResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.GetMemberBankAccountResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse; - return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse(); + return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2151,42 +2523,53 @@ proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserial * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_account + .GetMemberBankAccountResponse.Result.deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + 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.GetMemberBankAccountResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinaryFromReader); - msg.setResult(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2195,81 +2578,88 @@ proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototyp * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankAccount: (f = msg.getMemberBankAccount()) && models_member_bank_account_pb.MemberBankAccount.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse + .Result.serializeBinaryToWriter + ); + } }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.GetMemberBankAccountResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankAccount: + (f = msg.getMemberBankAccount()) && + models_member_bank_account_pb.MemberBankAccount.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.GetMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result; - return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result(); + return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2278,37 +2668,44 @@ proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.d * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_member_bank_account_pb.MemberBankAccount(); + reader.readMessage( + value, + models_member_bank_account_pb.MemberBankAccount + .deserializeBinaryFromReader + ); + msg.setMemberBankAccount(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_account_pb.MemberBankAccount; - reader.readMessage(value,models_member_bank_account_pb.MemberBankAccount.deserializeBinaryFromReader); - msg.setMemberBankAccount(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2317,188 +2714,206 @@ proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.p * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankAccount(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankAccount(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1; * @return {?proto.bet.beteran.member_bank_account.MemberBankAccount} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.getMemberBankAccount = function() { - return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ ( - jspb.Message.getWrapperField(this, models_member_bank_account_pb.MemberBankAccount, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.getMemberBankAccount = + function () { + return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_account_pb.MemberBankAccount, + 1 + ) + ); + }; /** * @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.setMemberBankAccount = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.setMemberBankAccount = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = function() { - return this.setMemberBankAccount(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = + function () { + return this.setMemberBankAccount(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse + .Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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.GetMemberBankAccountResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.hasResult = function() { - 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.UpdateMemberBankAccountRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.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.UpdateMemberBankAccountRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - bankId: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), - memo: jspb.Message.getFieldWithDefault(msg, 5, "") +proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.UpdateMemberBankAccountRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.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.UpdateMemberBankAccountRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + 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, ""), + }; + + 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.UpdateMemberBankAccountRequest} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest; - return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest(); + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2507,52 +2922,59 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.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.setBankId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + 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; + default: + reader.skipField(); + 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.setBankId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setAccountNumber(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2561,209 +2983,240 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getBankId(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getAccountNumber(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getBankId(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = message.getAccountNumber(); + 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)); + if (f != null) { + writer.writeString(6, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string bank_id = 2; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getBankId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getBankId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setBankId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setBankId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional string name = 3; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional string account_number = 4; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getAccountNumber = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setAccountNumber = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); + }; /** - * optional string memo = 5; + * optional string exchange_password = 5; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getExchangePassword = + 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.setMemo = function(value) { - return jspb.Message.setField(this, 5, value); -}; +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); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 6, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.hasMemo = function() { - return jspb.Message.getField(this, 5) != 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.UpdateMemberBankAccountResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 6) != null; }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.UpdateMemberBankAccountResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse; - return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse(); + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2772,42 +3225,54 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deser * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_account + .UpdateMemberBankAccountResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + 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.UpdateMemberBankAccountResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinaryFromReader); - msg.setResult(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2816,81 +3281,88 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.proto * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankAccount: (f = msg.getMemberBankAccount()) && models_member_bank_account_pb.MemberBankAccount.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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 + .UpdateMemberBankAccountResponse.Result.serializeBinaryToWriter + ); + } }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.UpdateMemberBankAccountResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankAccount: + (f = msg.getMemberBankAccount()) && + models_member_bank_account_pb.MemberBankAccount.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.UpdateMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result; - return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result(); + return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2899,37 +3371,44 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Resul * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_member_bank_account_pb.MemberBankAccount(); + reader.readMessage( + value, + models_member_bank_account_pb.MemberBankAccount + .deserializeBinaryFromReader + ); + msg.setMemberBankAccount(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_account_pb.MemberBankAccount; - reader.readMessage(value,models_member_bank_account_pb.MemberBankAccount.deserializeBinaryFromReader); - msg.setMemberBankAccount(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2938,184 +3417,201 @@ proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Resul * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankAccount(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankAccount(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1; * @return {?proto.bet.beteran.member_bank_account.MemberBankAccount} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.getMemberBankAccount = function() { - return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ ( - jspb.Message.getWrapperField(this, models_member_bank_account_pb.MemberBankAccount, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.getMemberBankAccount = + function () { + return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_account_pb.MemberBankAccount, + 1 + ) + ); + }; /** * @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.setMemberBankAccount = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.setMemberBankAccount = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = function() { - return this.setMemberBankAccount(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = + function () { + return this.setMemberBankAccount(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_account + .UpdateMemberBankAccountResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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.UpdateMemberBankAccountResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.hasResult = function() { - 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.DeleteMemberBankAccountRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.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.DeleteMemberBankAccountRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.DeleteMemberBankAccountRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.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.DeleteMemberBankAccountRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + }; + + 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.DeleteMemberBankAccountRequest} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest; - return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest(); + return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3124,36 +3620,39 @@ proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.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; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3162,91 +3661,102 @@ proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest} returns this */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, 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.DeleteMemberBankAccountResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.DeleteMemberBankAccountResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse; - return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse(); + return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3255,42 +3765,54 @@ proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deser * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_account + .DeleteMemberBankAccountResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + 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.DeleteMemberBankAccountResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinaryFromReader); - msg.setResult(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3299,81 +3821,81 @@ proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.proto * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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 + .DeleteMemberBankAccountResponse.Result.serializeBinaryToWriter + ); + } }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +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.DeleteMemberBankAccountResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result; - return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result(); + return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3382,32 +3904,35 @@ proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Resul * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3416,83 +3941,90 @@ proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Resul * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_account + .DeleteMemberBankAccountResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.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.DeleteMemberBankAccountResponse} returns this */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; goog.object.extend(exports, proto.bet.beteran.c2se.member_bank_account); diff --git a/src/app/modules/proto/c2se/member_pb.d.ts b/src/app/modules/proto/c2se/member_pb.d.ts index 7ae1ea5..dc07e30 100644 --- a/src/app/modules/proto/c2se/member_pb.d.ts +++ b/src/app/modules/proto/c2se/member_pb.d.ts @@ -84,6 +84,9 @@ export namespace CreateMemberRequest { getAccountNumber(): string; setAccountNumber(value: string): void; + getExchangePassword(): string; + setExchangePassword(value: string): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): BankAccount.AsObject; static toObject( @@ -110,6 +113,7 @@ export namespace CreateMemberRequest { bankId: string; name: string; accountNumber: string; + exchangePassword: string; }; } } @@ -613,6 +617,11 @@ export class UpdateMemberRequest extends jspb.Message { getMobilePhoneNumber(): string; setMobilePhoneNumber(value: string): void; + hasBankAccount(): boolean; + clearBankAccount(): void; + getBankAccount(): UpdateMemberRequest.BankAccount | undefined; + setBankAccount(value?: UpdateMemberRequest.BankAccount): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberRequest.AsObject; static toObject( @@ -641,7 +650,51 @@ export namespace UpdateMemberRequest { memberLevelId: string; password: string; mobilePhoneNumber: string; + bankAccount?: UpdateMemberRequest.BankAccount.AsObject; }; + + export class BankAccount extends jspb.Message { + getBankId(): string; + setBankId(value: string): void; + + getName(): string; + setName(value: string): void; + + getAccountNumber(): string; + setAccountNumber(value: string): void; + + getExchangePassword(): string; + setExchangePassword(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BankAccount.AsObject; + static toObject( + includeInstance: boolean, + msg: BankAccount + ): BankAccount.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: BankAccount, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): BankAccount; + static deserializeBinaryFromReader( + message: BankAccount, + reader: jspb.BinaryReader + ): BankAccount; + } + + export namespace BankAccount { + export type AsObject = { + bankId: string; + name: string; + accountNumber: string; + exchangePassword: string; + }; + } } export class UpdateMemberResponse extends jspb.Message { diff --git a/src/app/modules/proto/c2se/member_pb.js b/src/app/modules/proto/c2se/member_pb.js index aea6595..7033d14 100644 --- a/src/app/modules/proto/c2se/member_pb.js +++ b/src/app/modules/proto/c2se/member_pb.js @@ -128,6 +128,11 @@ goog.exportSymbol( null, global ); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount", + null, + global +); goog.exportSymbol( "proto.bet.beteran.c2se.member.UpdateMemberResponse", null, @@ -514,6 +519,33 @@ if (goog.DEBUG && !COMPILED) { proto.bet.beteran.c2se.member.UpdateMemberRequest.displayName = "proto.bet.beteran.c2se.member.UpdateMemberRequest"; } +/** + * 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.UpdateMemberRequest.BankAccount = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount"; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -960,6 +992,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { bankId: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), + exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""), }; if (includeInstance) { @@ -1012,6 +1045,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinaryF var value = /** @type {string} */ (reader.readString()); msg.setAccountNumber(value); break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setExchangePassword(value); + break; default: reader.skipField(); break; @@ -1056,6 +1093,10 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.serializeBinaryToW if (f.length > 0) { writer.writeString(3, f); } + f = message.getExchangePassword(); + if (f.length > 0) { + writer.writeString(4, f); + } }; /** @@ -1118,6 +1159,26 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setAccou return jspb.Message.setProto3StringField(this, 3, value); }; +/** + * optional string exchange_password = 4; + * @return {string} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getExchangePassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setExchangePassword = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); + }; + /** * optional string site_id = 1; * @return {string} @@ -4164,6 +4225,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) { memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), password: jspb.Message.getFieldWithDefault(msg, 4, ""), mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), + bankAccount: + (f = msg.getBankAccount()) && + proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject( + includeInstance, + f + ), }; if (includeInstance) { @@ -4224,6 +4291,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader = var value = /** @type {string} */ (reader.readString()); msg.setMobilePhoneNumber(value); break; + case 6: + var value = + new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount + .deserializeBinaryFromReader + ); + msg.setBankAccount(value); + break; default: reader.skipField(); break; @@ -4276,6 +4353,239 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter = if (f != null) { writer.writeString(5, f); } + f = message.getBankAccount(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount + .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.UpdateMemberRequest.BankAccount.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.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.UpdateMemberRequest.BankAccount} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.toObject = + function (includeInstance, msg) { + var f, + obj = { + bankId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), + exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""), + }; + + 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.UpdateMemberRequest.BankAccount} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount(); + return proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.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.UpdateMemberRequest.BankAccount} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.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.setBankId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setAccountNumber(value); + break; + case 4: + 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.UpdateMemberRequest.BankAccount.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.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.UpdateMemberRequest.BankAccount} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getBankId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getAccountNumber(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = message.getExchangePassword(); + if (f.length > 0) { + writer.writeString(4, f); + } + }; + +/** + * optional string bank_id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setBankId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional string name = 2; + * @return {string} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; + +/** + * optional string account_number = 3; + * @return {string} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; + +/** + * optional string exchange_password = 4; + * @return {string} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExchangePassword = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); }; /** @@ -4451,6 +4761,48 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber return jspb.Message.getField(this, 5) != null; }; +/** + * optional BankAccount bank_account = 6; + * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount = + function () { + return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount, + 6 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount|undefined} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setBankAccount = + function (value) { + return jspb.Message.setWrapperField(this, 6, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearBankAccount = + function () { + return this.setBankAccount(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasBankAccount = + function () { + return jspb.Message.getField(this, 6) != null; + }; + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. diff --git a/src/app/modules/proto/models/member_bank_account_pb.d.ts b/src/app/modules/proto/models/member_bank_account_pb.d.ts index 7a5af5d..44bf70b 100644 --- a/src/app/modules/proto/models/member_bank_account_pb.d.ts +++ b/src/app/modules/proto/models/member_bank_account_pb.d.ts @@ -1,7 +1,8 @@ // package: bet.beteran.member_bank_account // file: models/member_bank_account.proto -import * as jspb from "google-protobuf"; +import * as jspb from 'google-protobuf'; +import * as models_bank_pb from '../models/bank_pb'; export class MemberBankAccount extends jspb.Message { getId(): string; @@ -19,6 +20,9 @@ export class MemberBankAccount extends jspb.Message { getAccountNumber(): string; setAccountNumber(value: string): void; + getExchangePassword(): string; + setExchangePassword(value: string): void; + hasMemo(): boolean; clearMemo(): void; getMemo(): string; @@ -32,24 +36,102 @@ export class MemberBankAccount extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): MemberBankAccount.AsObject; - static toObject(includeInstance: boolean, msg: MemberBankAccount): MemberBankAccount.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: MemberBankAccount, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: MemberBankAccount + ): MemberBankAccount.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberBankAccount, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): MemberBankAccount; - static deserializeBinaryFromReader(message: MemberBankAccount, reader: jspb.BinaryReader): MemberBankAccount; + static deserializeBinaryFromReader( + message: MemberBankAccount, + reader: jspb.BinaryReader + ): MemberBankAccount; } export namespace MemberBankAccount { export type AsObject = { - id: string, - memberId: string, - bankId: string, - name: string, - accountNumber: string, - memo: string, - createdAt: number, - updatedAt: number, - } + id: string; + memberId: string; + bankId: string; + name: string; + accountNumber: string; + exchangePassword: string; + memo: string; + createdAt: number; + updatedAt: number; + }; } +export class MemberBankAccountModel extends jspb.Message { + getId(): string; + setId(value: string): void; + + getMemberId(): string; + setMemberId(value: string): void; + + hasBank(): boolean; + clearBank(): void; + getBank(): models_bank_pb.Bank | undefined; + setBank(value?: models_bank_pb.Bank): void; + + getName(): string; + setName(value: string): void; + + getAccountNumber(): string; + setAccountNumber(value: string): void; + + getExchangePassword(): string; + setExchangePassword(value: string): void; + + hasMemo(): boolean; + clearMemo(): void; + getMemo(): string; + setMemo(value: string): void; + + getCreatedAt(): number; + setCreatedAt(value: number): void; + + getUpdatedAt(): number; + setUpdatedAt(value: number): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemberBankAccountModel.AsObject; + static toObject( + includeInstance: boolean, + msg: MemberBankAccountModel + ): MemberBankAccountModel.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberBankAccountModel, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): MemberBankAccountModel; + static deserializeBinaryFromReader( + message: MemberBankAccountModel, + reader: jspb.BinaryReader + ): MemberBankAccountModel; +} + +export namespace MemberBankAccountModel { + export type AsObject = { + id: string; + memberId: string; + bank?: models_bank_pb.Bank.AsObject; + name: string; + accountNumber: string; + exchangePassword: string; + memo: string; + createdAt: number; + updatedAt: number; + }; +} diff --git a/src/app/modules/proto/models/member_bank_account_pb.js b/src/app/modules/proto/models/member_bank_account_pb.js index 615a293..c83864b 100644 --- a/src/app/modules/proto/models/member_bank_account_pb.js +++ b/src/app/modules/proto/models/member_bank_account_pb.js @@ -11,11 +11,24 @@ /* eslint-disable */ // @ts-nocheck -var jspb = require('google-protobuf'); +var jspb = require("google-protobuf"); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); -goog.exportSymbol('proto.bet.beteran.member_bank_account.MemberBankAccount', null, global); +var models_bank_pb = require("../models/bank_pb.js"); +goog.object.extend(proto, models_bank_pb); +goog.exportSymbol( + "proto.bet.beteran.member_bank_account.MemberBankAccount", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.member_bank_account.MemberBankAccountModel", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -26,78 +39,117 @@ goog.exportSymbol('proto.bet.beteran.member_bank_account.MemberBankAccount', nul * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.member_bank_account.MemberBankAccount = function(opt_data) { +proto.bet.beteran.member_bank_account.MemberBankAccount = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.member_bank_account.MemberBankAccount, jspb.Message); +goog.inherits( + proto.bet.beteran.member_bank_account.MemberBankAccount, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.member_bank_account.MemberBankAccount.displayName = 'proto.bet.beteran.member_bank_account.MemberBankAccount'; + proto.bet.beteran.member_bank_account.MemberBankAccount.displayName = + "proto.bet.beteran.member_bank_account.MemberBankAccount"; +} +/** + * 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.member_bank_account.MemberBankAccountModel = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.member_bank_account.MemberBankAccountModel, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.member_bank_account.MemberBankAccountModel.displayName = + "proto.bet.beteran.member_bank_account.MemberBankAccountModel"; } - - 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.member_bank_account.MemberBankAccount.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.member_bank_account.MemberBankAccount.toObject(opt_includeInstance, this); -}; + /** + * 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.member_bank_account.MemberBankAccount.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.member_bank_account.MemberBankAccount.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.member_bank_account.MemberBankAccount} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member_bank_account.MemberBankAccount.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), + bankId: jspb.Message.getFieldWithDefault(msg, 3, ""), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), + exchangePassword: jspb.Message.getFieldWithDefault(msg, 6, ""), + memo: jspb.Message.getFieldWithDefault(msg, 7, ""), + createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0), + }; -/** - * 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.member_bank_account.MemberBankAccount} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.member_bank_account.MemberBankAccount.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), - bankId: jspb.Message.getFieldWithDefault(msg, 3, ""), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), - memo: jspb.Message.getFieldWithDefault(msg, 6, ""), - createdAt: jspb.Message.getFieldWithDefault(msg, 7, 0), - updatedAt: jspb.Message.getFieldWithDefault(msg, 8, 0) + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return 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.member_bank_account.MemberBankAccount} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.member_bank_account.MemberBankAccount; - return proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.member_bank_account.MemberBankAccount(); + return proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -106,64 +158,71 @@ proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinary = func * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.member_bank_account.MemberBankAccount.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.setMemberId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setBankId(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setAccountNumber(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExchangePassword(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 8: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCreatedAt(value); + break; + case 9: + var value = /** @type {number} */ (reader.readUint64()); + msg.setUpdatedAt(value); + break; + default: + reader.skipField(); + 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.setMemberId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setBankId(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setAccountNumber(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - case 7: - var value = /** @type {number} */ (reader.readUint64()); - msg.setCreatedAt(value); - break; - case 8: - var value = /** @type {number} */ (reader.readUint64()); - msg.setUpdatedAt(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -172,227 +231,646 @@ proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.serializeBinar * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getMemberId(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getBankId(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = message.getAccountNumber(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } - f = message.getCreatedAt(); - if (f !== 0) { - writer.writeUint64( - 7, - f - ); - } - f = message.getUpdatedAt(); - if (f !== 0) { - writer.writeUint64( - 8, - f - ); - } -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getMemberId(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getBankId(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(4, f); + } + f = message.getAccountNumber(); + if (f.length > 0) { + writer.writeString(5, f); + } + f = message.getExchangePassword(); + if (f.length > 0) { + writer.writeString(6, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString(7, f); + } + f = message.getCreatedAt(); + if (f !== 0) { + writer.writeUint64(8, f); + } + f = message.getUpdatedAt(); + if (f !== 0) { + writer.writeUint64(9, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string member_id = 2; * @return {string} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemberId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemberId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemberId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional string bank_id = 3; * @return {string} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getBankId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getBankId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setBankId = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setBankId = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional string name = 4; * @return {string} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); + }; /** * optional string account_number = 5; * @return {string} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getAccountNumber = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setAccountNumber = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; /** - * optional string memo = 6; + * optional string exchange_password = 6; * @return {string} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getExchangePassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemo = function(value) { - return jspb.Message.setField(this, 6, value); -}; +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setExchangePassword = + function (value) { + return jspb.Message.setProto3StringField(this, 6, value); + }; +/** + * optional string memo = 7; + * @return {string} + */ +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 7, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 7, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.clearMemo = function() { - return jspb.Message.setField(this, 6, undefined); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 7, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.hasMemo = function() { - return jspb.Message.getField(this, 6) != null; -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 7) != null; + }; /** - * optional uint64 created_at = 7; + * optional uint64 created_at = 8; * @return {number} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getCreatedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getCreatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setCreatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 7, value); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setCreatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 8, value); + }; /** - * optional uint64 updated_at = 8; + * optional uint64 updated_at = 9; * @return {number} */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getUpdatedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); -}; - +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.getUpdatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_account.MemberBankAccount} returns this */ -proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setUpdatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 8, value); -}; +proto.bet.beteran.member_bank_account.MemberBankAccount.prototype.setUpdatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 9, 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.member_bank_account.MemberBankAccountModel.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.member_bank_account.MemberBankAccountModel.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.member_bank_account.MemberBankAccountModel} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member_bank_account.MemberBankAccountModel.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), + bank: + (f = msg.getBank()) && + models_bank_pb.Bank.toObject(includeInstance, f), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), + exchangePassword: jspb.Message.getFieldWithDefault(msg, 6, ""), + memo: jspb.Message.getFieldWithDefault(msg, 7, ""), + createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0), + }; + + 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.member_bank_account.MemberBankAccountModel} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.member_bank_account.MemberBankAccountModel(); + return proto.bet.beteran.member_bank_account.MemberBankAccountModel.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.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.setMemberId(value); + break; + case 3: + var value = new models_bank_pb.Bank(); + reader.readMessage( + value, + models_bank_pb.Bank.deserializeBinaryFromReader + ); + msg.setBank(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setAccountNumber(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setExchangePassword(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 8: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCreatedAt(value); + break; + case 9: + var value = /** @type {number} */ (reader.readUint64()); + msg.setUpdatedAt(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.member_bank_account.MemberBankAccountModel.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.member_bank_account.MemberBankAccountModel} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getMemberId(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getBank(); + if (f != null) { + writer.writeMessage(3, f, models_bank_pb.Bank.serializeBinaryToWriter); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(4, f); + } + f = message.getAccountNumber(); + if (f.length > 0) { + writer.writeString(5, f); + } + f = message.getExchangePassword(); + if (f.length > 0) { + writer.writeString(6, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString(7, f); + } + f = message.getCreatedAt(); + if (f !== 0) { + writer.writeUint64(8, f); + } + f = message.getUpdatedAt(); + if (f !== 0) { + writer.writeUint64(9, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional string member_id = 2; + * @return {string} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setMemberId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; + +/** + * optional bet.beteran.bank.Bank bank = 3; + * @return {?proto.bet.beteran.bank.Bank} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getBank = + function () { + return /** @type{?proto.bet.beteran.bank.Bank} */ ( + jspb.Message.getWrapperField(this, models_bank_pb.Bank, 3) + ); + }; + +/** + * @param {?proto.bet.beteran.bank.Bank|undefined} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setBank = + function (value) { + return jspb.Message.setWrapperField(this, 3, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.clearBank = + function () { + return this.setBank(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.hasBank = + function () { + return jspb.Message.getField(this, 3) != null; + }; + +/** + * optional string name = 4; + * @return {string} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); + }; + +/** + * optional string account_number = 5; + * @return {string} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; + +/** + * optional string exchange_password = 6; + * @return {string} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getExchangePassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setExchangePassword = + function (value) { + return jspb.Message.setProto3StringField(this, 6, value); + }; + +/** + * optional string memo = 7; + * @return {string} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 7, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 7, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 7, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 7) != null; + }; + +/** + * optional uint64 created_at = 8; + * @return {number} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getCreatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setCreatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 8, value); + }; + +/** + * optional uint64 updated_at = 9; + * @return {number} + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.getUpdatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_account.MemberBankAccountModel} returns this + */ +proto.bet.beteran.member_bank_account.MemberBankAccountModel.prototype.setUpdatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 9, value); + }; goog.object.extend(exports, proto.bet.beteran.member_bank_account); diff --git a/src/app/modules/proto/models/member_pb.d.ts b/src/app/modules/proto/models/member_pb.d.ts index a3736af..98b2528 100644 --- a/src/app/modules/proto/models/member_pb.d.ts +++ b/src/app/modules/proto/models/member_pb.d.ts @@ -1,10 +1,11 @@ // package: bet.beteran.member // file: models/member.proto -import * as jspb from "google-protobuf"; -import * as models_site_pb from "../models/site_pb"; -import * as models_member_class_pb from "../models/member_class_pb"; -import * as models_member_level_pb from "../models/member_level_pb"; +import * as jspb from 'google-protobuf'; +import * as models_site_pb from '../models/site_pb'; +import * as models_member_bank_account_pb from '../models/member_bank_account_pb'; +import * as models_member_class_pb from '../models/member_class_pb'; +import * as models_member_level_pb from '../models/member_level_pb'; export class Member extends jspb.Message { getId(): string; @@ -70,32 +71,40 @@ export class Member extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Member.AsObject; static toObject(includeInstance: boolean, msg: Member): Member.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: Member, writer: jspb.BinaryWriter): void; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Member, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): Member; - static deserializeBinaryFromReader(message: Member, reader: jspb.BinaryReader): Member; + static deserializeBinaryFromReader( + message: Member, + reader: jspb.BinaryReader + ): Member; } export namespace Member { export type AsObject = { - id: string, - siteId: string, - memberClassId: string, - memberLevelId: string, - referrerMemberId: string, - referredCount: number, - username: string, - nickname: string, - mobilePhoneNumber: string, - state: MemberStateMap[keyof MemberStateMap], - stateChangedAt: number, - lastSigninedIp: string, - lastSigninedAt: number, - createdAt: number, - updatedAt: number, - deletedAt: number, - } + id: string; + siteId: string; + memberClassId: string; + memberLevelId: string; + referrerMemberId: string; + referredCount: number; + username: string; + nickname: string; + mobilePhoneNumber: string; + state: MemberStateMap[keyof MemberStateMap]; + stateChangedAt: number; + lastSigninedIp: string; + lastSigninedAt: number; + createdAt: number; + updatedAt: number; + deletedAt: number; + }; } export class MemberModel extends jspb.Message { @@ -117,6 +126,15 @@ export class MemberModel extends jspb.Message { getMemberLevel(): models_member_level_pb.MemberLevel | undefined; setMemberLevel(value?: models_member_level_pb.MemberLevel): void; + hasBankAccount(): boolean; + clearBankAccount(): void; + getBankAccount(): + | models_member_bank_account_pb.MemberBankAccountModel + | undefined; + setBankAccount( + value?: models_member_bank_account_pb.MemberBankAccountModel + ): void; + hasReferrerMember(): boolean; clearReferrerMember(): void; getReferrerMember(): Member | undefined; @@ -167,33 +185,45 @@ export class MemberModel extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): MemberModel.AsObject; - static toObject(includeInstance: boolean, msg: MemberModel): MemberModel.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: MemberModel, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: MemberModel + ): MemberModel.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberModel, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): MemberModel; - static deserializeBinaryFromReader(message: MemberModel, reader: jspb.BinaryReader): MemberModel; + static deserializeBinaryFromReader( + message: MemberModel, + reader: jspb.BinaryReader + ): MemberModel; } export namespace MemberModel { export type AsObject = { - id: string, - site?: models_site_pb.Site.AsObject, - memberClass?: models_member_class_pb.MemberClass.AsObject, - memberLevel?: models_member_level_pb.MemberLevel.AsObject, - referrerMember?: Member.AsObject, - referredCount: number, - username: string, - nickname: string, - mobilePhoneNumber: string, - state: MemberStateMap[keyof MemberStateMap], - stateChangedAt: number, - lastSigninedIp: string, - lastSigninedAt: number, - createdAt: number, - updatedAt: number, - deletedAt: number, - } + id: string; + site?: models_site_pb.Site.AsObject; + memberClass?: models_member_class_pb.MemberClass.AsObject; + memberLevel?: models_member_level_pb.MemberLevel.AsObject; + bankAccount?: models_member_bank_account_pb.MemberBankAccountModel.AsObject; + referrerMember?: Member.AsObject; + referredCount: number; + username: string; + nickname: string; + mobilePhoneNumber: string; + state: MemberStateMap[keyof MemberStateMap]; + stateChangedAt: number; + lastSigninedIp: string; + lastSigninedAt: number; + createdAt: number; + updatedAt: number; + deletedAt: number; + }; } export interface MemberStateMap { @@ -207,4 +237,3 @@ export interface MemberStateMap { } export const MemberState: MemberStateMap; - diff --git a/src/app/modules/proto/models/member_pb.js b/src/app/modules/proto/models/member_pb.js index 9b21488..a02c0e7 100644 --- a/src/app/modules/proto/models/member_pb.js +++ b/src/app/modules/proto/models/member_pb.js @@ -11,19 +11,23 @@ /* eslint-disable */ // @ts-nocheck -var jspb = require('google-protobuf'); +var jspb = require("google-protobuf"); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); -var models_site_pb = require('../models/site_pb.js'); +var models_site_pb = require("../models/site_pb.js"); goog.object.extend(proto, models_site_pb); -var models_member_class_pb = require('../models/member_class_pb.js'); +var models_member_bank_account_pb = require("../models/member_bank_account_pb.js"); +goog.object.extend(proto, models_member_bank_account_pb); +var models_member_class_pb = require("../models/member_class_pb.js"); goog.object.extend(proto, models_member_class_pb); -var models_member_level_pb = require('../models/member_level_pb.js'); +var models_member_level_pb = require("../models/member_level_pb.js"); goog.object.extend(proto, models_member_level_pb); -goog.exportSymbol('proto.bet.beteran.member.Member', null, global); -goog.exportSymbol('proto.bet.beteran.member.MemberModel', null, global); -goog.exportSymbol('proto.bet.beteran.member.MemberState', null, global); +goog.exportSymbol("proto.bet.beteran.member.Member", null, global); +goog.exportSymbol("proto.bet.beteran.member.MemberModel", null, global); +goog.exportSymbol("proto.bet.beteran.member.MemberState", null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -34,7 +38,7 @@ goog.exportSymbol('proto.bet.beteran.member.MemberState', null, global); * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.member.Member = function(opt_data) { +proto.bet.beteran.member.Member = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.member.Member, jspb.Message); @@ -43,7 +47,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.member.Member.displayName = 'proto.bet.beteran.member.Member'; + proto.bet.beteran.member.Member.displayName = + "proto.bet.beteran.member.Member"; } /** * Generated by JsPbCodeGenerator. @@ -55,7 +60,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.member.MemberModel = function(opt_data) { +proto.bet.beteran.member.MemberModel = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.member.MemberModel, jspb.Message); @@ -64,78 +69,80 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.member.MemberModel.displayName = 'proto.bet.beteran.member.MemberModel'; + proto.bet.beteran.member.MemberModel.displayName = + "proto.bet.beteran.member.MemberModel"; } - - 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.member.Member.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.member.Member.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.member.Member} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.member.Member.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - siteId: jspb.Message.getFieldWithDefault(msg, 2, ""), - memberClassId: jspb.Message.getFieldWithDefault(msg, 3, ""), - memberLevelId: jspb.Message.getFieldWithDefault(msg, 4, ""), - referrerMemberId: jspb.Message.getFieldWithDefault(msg, 5, ""), - referredCount: jspb.Message.getFieldWithDefault(msg, 6, 0), - username: jspb.Message.getFieldWithDefault(msg, 7, ""), - nickname: jspb.Message.getFieldWithDefault(msg, 8, ""), - mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 9, ""), - state: jspb.Message.getFieldWithDefault(msg, 10, 0), - stateChangedAt: jspb.Message.getFieldWithDefault(msg, 11, 0), - lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 12, ""), - lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 13, 0), - createdAt: jspb.Message.getFieldWithDefault(msg, 14, 0), - updatedAt: jspb.Message.getFieldWithDefault(msg, 15, 0), - deletedAt: jspb.Message.getFieldWithDefault(msg, 16, 0) + /** + * 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.member.Member.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.member.Member.toObject(opt_includeInstance, this); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * 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.member.Member} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member.Member.toObject = function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + siteId: jspb.Message.getFieldWithDefault(msg, 2, ""), + memberClassId: jspb.Message.getFieldWithDefault(msg, 3, ""), + memberLevelId: jspb.Message.getFieldWithDefault(msg, 4, ""), + referrerMemberId: jspb.Message.getFieldWithDefault(msg, 5, ""), + referredCount: jspb.Message.getFieldWithDefault(msg, 6, 0), + username: jspb.Message.getFieldWithDefault(msg, 7, ""), + nickname: jspb.Message.getFieldWithDefault(msg, 8, ""), + mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 9, ""), + state: jspb.Message.getFieldWithDefault(msg, 10, 0), + stateChangedAt: jspb.Message.getFieldWithDefault(msg, 11, 0), + lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 12, ""), + lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 13, 0), + createdAt: jspb.Message.getFieldWithDefault(msg, 14, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 15, 0), + deletedAt: jspb.Message.getFieldWithDefault(msg, 16, 0), + }; + 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.member.Member} */ -proto.bet.beteran.member.Member.deserializeBinary = function(bytes) { +proto.bet.beteran.member.Member.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.member.Member; - return proto.bet.beteran.member.Member.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.member.Member(); + return proto.bet.beteran.member.Member.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -143,97 +150,100 @@ proto.bet.beteran.member.Member.deserializeBinary = function(bytes) { * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.member.Member} */ -proto.bet.beteran.member.Member.deserializeBinaryFromReader = function(msg, reader) { +proto.bet.beteran.member.Member.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.setSiteId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberClassId(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberLevelId(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setReferrerMemberId(value); - break; - case 6: - var value = /** @type {number} */ (reader.readUint64()); - msg.setReferredCount(value); - break; - case 7: - var value = /** @type {string} */ (reader.readString()); - msg.setUsername(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setNickname(value); - break; - case 9: - var value = /** @type {string} */ (reader.readString()); - msg.setMobilePhoneNumber(value); - break; - case 10: - var value = /** @type {!proto.bet.beteran.member.MemberState} */ (reader.readEnum()); - msg.setState(value); - break; - case 11: - var value = /** @type {number} */ (reader.readUint64()); - msg.setStateChangedAt(value); - break; - case 12: - var value = /** @type {string} */ (reader.readString()); - msg.setLastSigninedIp(value); - break; - case 13: - var value = /** @type {number} */ (reader.readUint64()); - msg.setLastSigninedAt(value); - break; - case 14: - var value = /** @type {number} */ (reader.readUint64()); - msg.setCreatedAt(value); - break; - case 15: - var value = /** @type {number} */ (reader.readUint64()); - msg.setUpdatedAt(value); - break; - case 16: - var value = /** @type {number} */ (reader.readUint64()); - msg.setDeletedAt(value); - break; - default: - reader.skipField(); - break; + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSiteId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberClassId(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberLevelId(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setReferrerMemberId(value); + break; + case 6: + var value = /** @type {number} */ (reader.readUint64()); + msg.setReferredCount(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setUsername(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setNickname(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setMobilePhoneNumber(value); + break; + case 10: + var value = /** @type {!proto.bet.beteran.member.MemberState} */ ( + reader.readEnum() + ); + msg.setState(value); + break; + case 11: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStateChangedAt(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setLastSigninedIp(value); + break; + case 13: + var value = /** @type {number} */ (reader.readUint64()); + msg.setLastSigninedAt(value); + break; + case 14: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCreatedAt(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setUpdatedAt(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setDeletedAt(value); + break; + default: + reader.skipField(); + break; } } return msg; }; - /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.member.Member.prototype.serializeBinary = function() { +proto.bet.beteran.member.Member.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.bet.beteran.member.Member.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; - /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. @@ -241,589 +251,525 @@ proto.bet.beteran.member.Member.prototype.serializeBinary = function() { * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.member.Member.serializeBinaryToWriter = function(message, writer) { +proto.bet.beteran.member.Member.serializeBinaryToWriter = function ( + message, + writer +) { var f = undefined; f = message.getId(); if (f.length > 0) { - writer.writeString( - 1, - f - ); + writer.writeString(1, f); } f = message.getSiteId(); if (f.length > 0) { - writer.writeString( - 2, - f - ); + writer.writeString(2, f); } f = message.getMemberClassId(); if (f.length > 0) { - writer.writeString( - 3, - f - ); + writer.writeString(3, f); } f = message.getMemberLevelId(); 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 - ); + writer.writeString(5, f); } f = message.getReferredCount(); if (f !== 0) { - writer.writeUint64( - 6, - f - ); + writer.writeUint64(6, f); } f = message.getUsername(); if (f.length > 0) { - writer.writeString( - 7, - f - ); + writer.writeString(7, f); } f = message.getNickname(); if (f.length > 0) { - writer.writeString( - 8, - f - ); + writer.writeString(8, f); } f = /** @type {string} */ (jspb.Message.getField(message, 9)); if (f != null) { - writer.writeString( - 9, - f - ); + writer.writeString(9, f); } f = message.getState(); if (f !== 0.0) { - writer.writeEnum( - 10, - f - ); + writer.writeEnum(10, f); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { - writer.writeUint64( - 11, - f - ); + writer.writeUint64(11, f); } f = /** @type {string} */ (jspb.Message.getField(message, 12)); if (f != null) { - writer.writeString( - 12, - f - ); + writer.writeString(12, f); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { - writer.writeUint64( - 13, - f - ); + writer.writeUint64(13, f); } f = message.getCreatedAt(); if (f !== 0) { - writer.writeUint64( - 14, - f - ); + writer.writeUint64(14, f); } f = message.getUpdatedAt(); if (f !== 0) { - writer.writeUint64( - 15, - f - ); + writer.writeUint64(15, f); } f = /** @type {number} */ (jspb.Message.getField(message, 16)); if (f != null) { - writer.writeUint64( - 16, - f - ); + writer.writeUint64(16, f); } }; - /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getId = function() { +proto.bet.beteran.member.Member.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setId = function(value) { +proto.bet.beteran.member.Member.prototype.setId = function (value) { return jspb.Message.setProto3StringField(this, 1, value); }; - /** * optional string site_id = 2; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getSiteId = function() { +proto.bet.beteran.member.Member.prototype.getSiteId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setSiteId = function(value) { +proto.bet.beteran.member.Member.prototype.setSiteId = function (value) { return jspb.Message.setProto3StringField(this, 2, value); }; - /** * optional string member_class_id = 3; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getMemberClassId = function() { +proto.bet.beteran.member.Member.prototype.getMemberClassId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setMemberClassId = function(value) { +proto.bet.beteran.member.Member.prototype.setMemberClassId = function (value) { return jspb.Message.setProto3StringField(this, 3, value); }; - /** * optional string member_level_id = 4; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getMemberLevelId = function() { +proto.bet.beteran.member.Member.prototype.getMemberLevelId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setMemberLevelId = function(value) { +proto.bet.beteran.member.Member.prototype.setMemberLevelId = function (value) { return jspb.Message.setProto3StringField(this, 4, value); }; - /** * optional string referrer_member_id = 5; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getReferrerMemberId = function() { +proto.bet.beteran.member.Member.prototype.getReferrerMemberId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setReferrerMemberId = function(value) { +proto.bet.beteran.member.Member.prototype.setReferrerMemberId = function ( + value +) { return jspb.Message.setField(this, 5, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.clearReferrerMemberId = function() { +proto.bet.beteran.member.Member.prototype.clearReferrerMemberId = function () { return jspb.Message.setField(this, 5, undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.Member.prototype.hasReferrerMemberId = function() { +proto.bet.beteran.member.Member.prototype.hasReferrerMemberId = function () { return jspb.Message.getField(this, 5) != null; }; - /** * optional uint64 referred_count = 6; * @return {number} */ -proto.bet.beteran.member.Member.prototype.getReferredCount = function() { +proto.bet.beteran.member.Member.prototype.getReferredCount = function () { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setReferredCount = function(value) { +proto.bet.beteran.member.Member.prototype.setReferredCount = function (value) { return jspb.Message.setProto3IntField(this, 6, value); }; - /** * optional string username = 7; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getUsername = function() { +proto.bet.beteran.member.Member.prototype.getUsername = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setUsername = function(value) { +proto.bet.beteran.member.Member.prototype.setUsername = function (value) { return jspb.Message.setProto3StringField(this, 7, value); }; - /** * optional string nickname = 8; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getNickname = function() { +proto.bet.beteran.member.Member.prototype.getNickname = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setNickname = function(value) { +proto.bet.beteran.member.Member.prototype.setNickname = function (value) { return jspb.Message.setProto3StringField(this, 8, value); }; - /** * optional string mobile_phone_number = 9; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getMobilePhoneNumber = function() { +proto.bet.beteran.member.Member.prototype.getMobilePhoneNumber = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setMobilePhoneNumber = function(value) { +proto.bet.beteran.member.Member.prototype.setMobilePhoneNumber = function ( + value +) { return jspb.Message.setField(this, 9, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.clearMobilePhoneNumber = function() { +proto.bet.beteran.member.Member.prototype.clearMobilePhoneNumber = function () { return jspb.Message.setField(this, 9, undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.Member.prototype.hasMobilePhoneNumber = function() { +proto.bet.beteran.member.Member.prototype.hasMobilePhoneNumber = function () { return jspb.Message.getField(this, 9) != null; }; - /** * optional MemberState state = 10; * @return {!proto.bet.beteran.member.MemberState} */ -proto.bet.beteran.member.Member.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member.MemberState} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); +proto.bet.beteran.member.Member.prototype.getState = function () { + return /** @type {!proto.bet.beteran.member.MemberState} */ ( + jspb.Message.getFieldWithDefault(this, 10, 0) + ); }; - /** * @param {!proto.bet.beteran.member.MemberState} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setState = function(value) { +proto.bet.beteran.member.Member.prototype.setState = function (value) { return jspb.Message.setProto3EnumField(this, 10, value); }; - /** * optional uint64 state_changed_at = 11; * @return {number} */ -proto.bet.beteran.member.Member.prototype.getStateChangedAt = function() { +proto.bet.beteran.member.Member.prototype.getStateChangedAt = function () { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setStateChangedAt = function(value) { +proto.bet.beteran.member.Member.prototype.setStateChangedAt = function (value) { return jspb.Message.setField(this, 11, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.clearStateChangedAt = function() { +proto.bet.beteran.member.Member.prototype.clearStateChangedAt = function () { return jspb.Message.setField(this, 11, undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.Member.prototype.hasStateChangedAt = function() { +proto.bet.beteran.member.Member.prototype.hasStateChangedAt = function () { return jspb.Message.getField(this, 11) != null; }; - /** * optional string last_signined_ip = 12; * @return {string} */ -proto.bet.beteran.member.Member.prototype.getLastSigninedIp = function() { +proto.bet.beteran.member.Member.prototype.getLastSigninedIp = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setLastSigninedIp = function(value) { +proto.bet.beteran.member.Member.prototype.setLastSigninedIp = function (value) { return jspb.Message.setField(this, 12, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.clearLastSigninedIp = function() { +proto.bet.beteran.member.Member.prototype.clearLastSigninedIp = function () { return jspb.Message.setField(this, 12, undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.Member.prototype.hasLastSigninedIp = function() { +proto.bet.beteran.member.Member.prototype.hasLastSigninedIp = function () { return jspb.Message.getField(this, 12) != null; }; - /** * optional uint64 last_signined_at = 13; * @return {number} */ -proto.bet.beteran.member.Member.prototype.getLastSigninedAt = function() { +proto.bet.beteran.member.Member.prototype.getLastSigninedAt = function () { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setLastSigninedAt = function(value) { +proto.bet.beteran.member.Member.prototype.setLastSigninedAt = function (value) { return jspb.Message.setField(this, 13, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.clearLastSigninedAt = function() { +proto.bet.beteran.member.Member.prototype.clearLastSigninedAt = function () { return jspb.Message.setField(this, 13, undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.Member.prototype.hasLastSigninedAt = function() { +proto.bet.beteran.member.Member.prototype.hasLastSigninedAt = function () { return jspb.Message.getField(this, 13) != null; }; - /** * optional uint64 created_at = 14; * @return {number} */ -proto.bet.beteran.member.Member.prototype.getCreatedAt = function() { +proto.bet.beteran.member.Member.prototype.getCreatedAt = function () { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setCreatedAt = function(value) { +proto.bet.beteran.member.Member.prototype.setCreatedAt = function (value) { return jspb.Message.setProto3IntField(this, 14, value); }; - /** * optional uint64 updated_at = 15; * @return {number} */ -proto.bet.beteran.member.Member.prototype.getUpdatedAt = function() { +proto.bet.beteran.member.Member.prototype.getUpdatedAt = function () { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setUpdatedAt = function(value) { +proto.bet.beteran.member.Member.prototype.setUpdatedAt = function (value) { return jspb.Message.setProto3IntField(this, 15, value); }; - /** * optional uint64 deleted_at = 16; * @return {number} */ -proto.bet.beteran.member.Member.prototype.getDeletedAt = function() { +proto.bet.beteran.member.Member.prototype.getDeletedAt = function () { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.setDeletedAt = function(value) { +proto.bet.beteran.member.Member.prototype.setDeletedAt = function (value) { return jspb.Message.setField(this, 16, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.Member} returns this */ -proto.bet.beteran.member.Member.prototype.clearDeletedAt = function() { +proto.bet.beteran.member.Member.prototype.clearDeletedAt = function () { return jspb.Message.setField(this, 16, undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.Member.prototype.hasDeletedAt = function() { +proto.bet.beteran.member.Member.prototype.hasDeletedAt = function () { return jspb.Message.getField(this, 16) != 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.member.MemberModel.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.member.MemberModel.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.member.MemberModel} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.member.MemberModel.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - site: (f = msg.getSite()) && models_site_pb.Site.toObject(includeInstance, f), - memberClass: (f = msg.getMemberClass()) && models_member_class_pb.MemberClass.toObject(includeInstance, f), - memberLevel: (f = msg.getMemberLevel()) && models_member_level_pb.MemberLevel.toObject(includeInstance, f), - referrerMember: (f = msg.getReferrerMember()) && proto.bet.beteran.member.Member.toObject(includeInstance, f), - referredCount: jspb.Message.getFieldWithDefault(msg, 6, 0), - username: jspb.Message.getFieldWithDefault(msg, 7, ""), - nickname: jspb.Message.getFieldWithDefault(msg, 8, ""), - mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 9, ""), - state: jspb.Message.getFieldWithDefault(msg, 10, 0), - stateChangedAt: jspb.Message.getFieldWithDefault(msg, 11, 0), - lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 12, ""), - lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 13, 0), - createdAt: jspb.Message.getFieldWithDefault(msg, 14, 0), - updatedAt: jspb.Message.getFieldWithDefault(msg, 15, 0), - deletedAt: jspb.Message.getFieldWithDefault(msg, 16, 0) + /** + * 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.member.MemberModel.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.member.MemberModel.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * 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.member.MemberModel} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member.MemberModel.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + site: + (f = msg.getSite()) && + models_site_pb.Site.toObject(includeInstance, f), + memberClass: + (f = msg.getMemberClass()) && + models_member_class_pb.MemberClass.toObject(includeInstance, f), + memberLevel: + (f = msg.getMemberLevel()) && + models_member_level_pb.MemberLevel.toObject(includeInstance, f), + bankAccount: + (f = msg.getBankAccount()) && + models_member_bank_account_pb.MemberBankAccountModel.toObject( + includeInstance, + f + ), + referrerMember: + (f = msg.getReferrerMember()) && + proto.bet.beteran.member.Member.toObject(includeInstance, f), + referredCount: jspb.Message.getFieldWithDefault(msg, 7, 0), + username: jspb.Message.getFieldWithDefault(msg, 8, ""), + nickname: jspb.Message.getFieldWithDefault(msg, 9, ""), + mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 10, ""), + state: jspb.Message.getFieldWithDefault(msg, 11, 0), + stateChangedAt: jspb.Message.getFieldWithDefault(msg, 12, 0), + lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 13, ""), + lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 14, 0), + createdAt: jspb.Message.getFieldWithDefault(msg, 15, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 16, 0), + deletedAt: jspb.Message.getFieldWithDefault(msg, 17, 0), + }; + 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.member.MemberModel} */ -proto.bet.beteran.member.MemberModel.deserializeBinary = function(bytes) { +proto.bet.beteran.member.MemberModel.deserializeBinary = function (bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.member.MemberModel; - return proto.bet.beteran.member.MemberModel.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.member.MemberModel(); + return proto.bet.beteran.member.MemberModel.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -831,101 +777,125 @@ proto.bet.beteran.member.MemberModel.deserializeBinary = function(bytes) { * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.member.MemberModel} */ -proto.bet.beteran.member.MemberModel.deserializeBinaryFromReader = function(msg, reader) { +proto.bet.beteran.member.MemberModel.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 = new models_site_pb.Site; - reader.readMessage(value,models_site_pb.Site.deserializeBinaryFromReader); - msg.setSite(value); - break; - case 3: - var value = new models_member_class_pb.MemberClass; - reader.readMessage(value,models_member_class_pb.MemberClass.deserializeBinaryFromReader); - msg.setMemberClass(value); - break; - case 4: - var value = new models_member_level_pb.MemberLevel; - reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader); - msg.setMemberLevel(value); - break; - case 5: - var value = new proto.bet.beteran.member.Member; - reader.readMessage(value,proto.bet.beteran.member.Member.deserializeBinaryFromReader); - msg.setReferrerMember(value); - break; - case 6: - var value = /** @type {number} */ (reader.readUint64()); - msg.setReferredCount(value); - break; - case 7: - var value = /** @type {string} */ (reader.readString()); - msg.setUsername(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setNickname(value); - break; - case 9: - var value = /** @type {string} */ (reader.readString()); - msg.setMobilePhoneNumber(value); - break; - case 10: - var value = /** @type {!proto.bet.beteran.member.MemberState} */ (reader.readEnum()); - msg.setState(value); - break; - case 11: - var value = /** @type {number} */ (reader.readUint64()); - msg.setStateChangedAt(value); - break; - case 12: - var value = /** @type {string} */ (reader.readString()); - msg.setLastSigninedIp(value); - break; - case 13: - var value = /** @type {number} */ (reader.readUint64()); - msg.setLastSigninedAt(value); - break; - case 14: - var value = /** @type {number} */ (reader.readUint64()); - msg.setCreatedAt(value); - break; - case 15: - var value = /** @type {number} */ (reader.readUint64()); - msg.setUpdatedAt(value); - break; - case 16: - var value = /** @type {number} */ (reader.readUint64()); - msg.setDeletedAt(value); - break; - default: - reader.skipField(); - break; + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = new models_site_pb.Site(); + reader.readMessage( + value, + models_site_pb.Site.deserializeBinaryFromReader + ); + msg.setSite(value); + break; + case 3: + var value = new models_member_class_pb.MemberClass(); + reader.readMessage( + value, + models_member_class_pb.MemberClass.deserializeBinaryFromReader + ); + msg.setMemberClass(value); + break; + case 4: + var value = new models_member_level_pb.MemberLevel(); + reader.readMessage( + value, + models_member_level_pb.MemberLevel.deserializeBinaryFromReader + ); + msg.setMemberLevel(value); + break; + case 5: + var value = new models_member_bank_account_pb.MemberBankAccountModel(); + reader.readMessage( + value, + models_member_bank_account_pb.MemberBankAccountModel + .deserializeBinaryFromReader + ); + msg.setBankAccount(value); + break; + case 6: + var value = new proto.bet.beteran.member.Member(); + reader.readMessage( + value, + proto.bet.beteran.member.Member.deserializeBinaryFromReader + ); + msg.setReferrerMember(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setReferredCount(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setUsername(value); + break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setNickname(value); + break; + case 10: + var value = /** @type {string} */ (reader.readString()); + msg.setMobilePhoneNumber(value); + break; + case 11: + var value = /** @type {!proto.bet.beteran.member.MemberState} */ ( + reader.readEnum() + ); + msg.setState(value); + break; + case 12: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStateChangedAt(value); + break; + case 13: + var value = /** @type {string} */ (reader.readString()); + msg.setLastSigninedIp(value); + break; + case 14: + var value = /** @type {number} */ (reader.readUint64()); + msg.setLastSigninedAt(value); + break; + case 15: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCreatedAt(value); + break; + case 16: + var value = /** @type {number} */ (reader.readUint64()); + msg.setUpdatedAt(value); + break; + case 17: + var value = /** @type {number} */ (reader.readUint64()); + msg.setDeletedAt(value); + break; + default: + reader.skipField(); + break; } } return msg; }; - /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.member.MemberModel.prototype.serializeBinary = function() { +proto.bet.beteran.member.MemberModel.prototype.serializeBinary = function () { var writer = new jspb.BinaryWriter(); proto.bet.beteran.member.MemberModel.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; - /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. @@ -933,22 +903,18 @@ proto.bet.beteran.member.MemberModel.prototype.serializeBinary = function() { * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.member.MemberModel.serializeBinaryToWriter = function(message, writer) { +proto.bet.beteran.member.MemberModel.serializeBinaryToWriter = function ( + message, + writer +) { var f = undefined; f = message.getId(); if (f.length > 0) { - writer.writeString( - 1, - f - ); + writer.writeString(1, f); } f = message.getSite(); if (f != null) { - writer.writeMessage( - 2, - f, - models_site_pb.Site.serializeBinaryToWriter - ); + writer.writeMessage(2, f, models_site_pb.Site.serializeBinaryToWriter); } f = message.getMemberClass(); if (f != null) { @@ -966,547 +932,543 @@ proto.bet.beteran.member.MemberModel.serializeBinaryToWriter = function(message, models_member_level_pb.MemberLevel.serializeBinaryToWriter ); } - f = message.getReferrerMember(); + f = message.getBankAccount(); if (f != null) { writer.writeMessage( 5, f, + models_member_bank_account_pb.MemberBankAccountModel + .serializeBinaryToWriter + ); + } + f = message.getReferrerMember(); + if (f != null) { + writer.writeMessage( + 6, + f, proto.bet.beteran.member.Member.serializeBinaryToWriter ); } f = message.getReferredCount(); if (f !== 0) { - writer.writeUint64( - 6, - f - ); + writer.writeUint64(7, f); } f = message.getUsername(); if (f.length > 0) { - writer.writeString( - 7, - f - ); + writer.writeString(8, f); } f = message.getNickname(); if (f.length > 0) { - writer.writeString( - 8, - f - ); + writer.writeString(9, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 9)); + f = /** @type {string} */ (jspb.Message.getField(message, 10)); if (f != null) { - writer.writeString( - 9, - f - ); + writer.writeString(10, f); } f = message.getState(); if (f !== 0.0) { - writer.writeEnum( - 10, - f - ); + writer.writeEnum(11, f); } - f = /** @type {number} */ (jspb.Message.getField(message, 11)); + f = /** @type {number} */ (jspb.Message.getField(message, 12)); if (f != null) { - writer.writeUint64( - 11, - f - ); + writer.writeUint64(12, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 12)); + f = /** @type {string} */ (jspb.Message.getField(message, 13)); if (f != null) { - writer.writeString( - 12, - f - ); + writer.writeString(13, f); } - f = /** @type {number} */ (jspb.Message.getField(message, 13)); + f = /** @type {number} */ (jspb.Message.getField(message, 14)); if (f != null) { - writer.writeUint64( - 13, - f - ); + writer.writeUint64(14, f); } f = message.getCreatedAt(); if (f !== 0) { - writer.writeUint64( - 14, - f - ); + writer.writeUint64(15, f); } f = message.getUpdatedAt(); if (f !== 0) { - writer.writeUint64( - 15, - f - ); + writer.writeUint64(16, f); } - f = /** @type {number} */ (jspb.Message.getField(message, 16)); + f = /** @type {number} */ (jspb.Message.getField(message, 17)); if (f != null) { - writer.writeUint64( - 16, - f - ); + writer.writeUint64(17, f); } }; - /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.member.MemberModel.prototype.getId = function() { +proto.bet.beteran.member.MemberModel.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.setId = function(value) { +proto.bet.beteran.member.MemberModel.prototype.setId = function (value) { return jspb.Message.setProto3StringField(this, 1, value); }; - /** * optional bet.beteran.site.Site site = 2; * @return {?proto.bet.beteran.site.Site} */ -proto.bet.beteran.member.MemberModel.prototype.getSite = function() { +proto.bet.beteran.member.MemberModel.prototype.getSite = function () { return /** @type{?proto.bet.beteran.site.Site} */ ( - jspb.Message.getWrapperField(this, models_site_pb.Site, 2)); + jspb.Message.getWrapperField(this, models_site_pb.Site, 2) + ); }; - /** * @param {?proto.bet.beteran.site.Site|undefined} value * @return {!proto.bet.beteran.member.MemberModel} returns this -*/ -proto.bet.beteran.member.MemberModel.prototype.setSite = function(value) { + */ +proto.bet.beteran.member.MemberModel.prototype.setSite = function (value) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.clearSite = function() { +proto.bet.beteran.member.MemberModel.prototype.clearSite = function () { return this.setSite(undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.MemberModel.prototype.hasSite = function() { +proto.bet.beteran.member.MemberModel.prototype.hasSite = function () { return jspb.Message.getField(this, 2) != null; }; - /** * optional bet.beteran.member_class.MemberClass member_class = 3; * @return {?proto.bet.beteran.member_class.MemberClass} */ -proto.bet.beteran.member.MemberModel.prototype.getMemberClass = function() { +proto.bet.beteran.member.MemberModel.prototype.getMemberClass = function () { return /** @type{?proto.bet.beteran.member_class.MemberClass} */ ( - jspb.Message.getWrapperField(this, models_member_class_pb.MemberClass, 3)); + jspb.Message.getWrapperField(this, models_member_class_pb.MemberClass, 3) + ); }; - /** * @param {?proto.bet.beteran.member_class.MemberClass|undefined} value * @return {!proto.bet.beteran.member.MemberModel} returns this -*/ -proto.bet.beteran.member.MemberModel.prototype.setMemberClass = function(value) { + */ +proto.bet.beteran.member.MemberModel.prototype.setMemberClass = function ( + value +) { return jspb.Message.setWrapperField(this, 3, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.clearMemberClass = function() { +proto.bet.beteran.member.MemberModel.prototype.clearMemberClass = function () { return this.setMemberClass(undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.MemberModel.prototype.hasMemberClass = function() { +proto.bet.beteran.member.MemberModel.prototype.hasMemberClass = function () { return jspb.Message.getField(this, 3) != null; }; - /** * optional bet.beteran.member_level.MemberLevel member_level = 4; * @return {?proto.bet.beteran.member_level.MemberLevel} */ -proto.bet.beteran.member.MemberModel.prototype.getMemberLevel = function() { +proto.bet.beteran.member.MemberModel.prototype.getMemberLevel = function () { return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ ( - jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 4)); + jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 4) + ); }; - /** * @param {?proto.bet.beteran.member_level.MemberLevel|undefined} value * @return {!proto.bet.beteran.member.MemberModel} returns this -*/ -proto.bet.beteran.member.MemberModel.prototype.setMemberLevel = function(value) { + */ +proto.bet.beteran.member.MemberModel.prototype.setMemberLevel = function ( + value +) { return jspb.Message.setWrapperField(this, 4, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.clearMemberLevel = function() { +proto.bet.beteran.member.MemberModel.prototype.clearMemberLevel = function () { return this.setMemberLevel(undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.MemberModel.prototype.hasMemberLevel = function() { +proto.bet.beteran.member.MemberModel.prototype.hasMemberLevel = function () { return jspb.Message.getField(this, 4) != null; }; - /** - * optional Member referrer_member = 5; - * @return {?proto.bet.beteran.member.Member} + * optional bet.beteran.member_bank_account.MemberBankAccountModel bank_account = 5; + * @return {?proto.bet.beteran.member_bank_account.MemberBankAccountModel} */ -proto.bet.beteran.member.MemberModel.prototype.getReferrerMember = function() { - return /** @type{?proto.bet.beteran.member.Member} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.member.Member, 5)); +proto.bet.beteran.member.MemberModel.prototype.getBankAccount = function () { + return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccountModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_account_pb.MemberBankAccountModel, + 5 + ) + ); }; +/** + * @param {?proto.bet.beteran.member_bank_account.MemberBankAccountModel|undefined} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setBankAccount = function ( + value +) { + return jspb.Message.setWrapperField(this, 5, value); +}; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.clearBankAccount = function () { + return this.setBankAccount(undefined); +}; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member.MemberModel.prototype.hasBankAccount = function () { + return jspb.Message.getField(this, 5) != null; +}; + +/** + * optional Member referrer_member = 6; + * @return {?proto.bet.beteran.member.Member} + */ +proto.bet.beteran.member.MemberModel.prototype.getReferrerMember = function () { + return /** @type{?proto.bet.beteran.member.Member} */ ( + jspb.Message.getWrapperField(this, proto.bet.beteran.member.Member, 6) + ); +}; /** * @param {?proto.bet.beteran.member.Member|undefined} value * @return {!proto.bet.beteran.member.MemberModel} returns this -*/ -proto.bet.beteran.member.MemberModel.prototype.setReferrerMember = function(value) { - return jspb.Message.setWrapperField(this, 5, value); + */ +proto.bet.beteran.member.MemberModel.prototype.setReferrerMember = function ( + value +) { + return jspb.Message.setWrapperField(this, 6, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.clearReferrerMember = function() { - return this.setReferrerMember(undefined); -}; - +proto.bet.beteran.member.MemberModel.prototype.clearReferrerMember = + function () { + return this.setReferrerMember(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.MemberModel.prototype.hasReferrerMember = function() { - return jspb.Message.getField(this, 5) != null; +proto.bet.beteran.member.MemberModel.prototype.hasReferrerMember = function () { + return jspb.Message.getField(this, 6) != null; }; - /** - * optional uint64 referred_count = 6; + * optional uint64 referred_count = 7; * @return {number} */ -proto.bet.beteran.member.MemberModel.prototype.getReferredCount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +proto.bet.beteran.member.MemberModel.prototype.getReferredCount = function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.setReferredCount = function(value) { - return jspb.Message.setProto3IntField(this, 6, value); +proto.bet.beteran.member.MemberModel.prototype.setReferredCount = function ( + value +) { + return jspb.Message.setProto3IntField(this, 7, value); }; - /** - * optional string username = 7; + * optional string username = 8; * @return {string} */ -proto.bet.beteran.member.MemberModel.prototype.getUsername = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); -}; - - -/** - * @param {string} value - * @return {!proto.bet.beteran.member.MemberModel} returns this - */ -proto.bet.beteran.member.MemberModel.prototype.setUsername = function(value) { - return jspb.Message.setProto3StringField(this, 7, value); -}; - - -/** - * optional string nickname = 8; - * @return {string} - */ -proto.bet.beteran.member.MemberModel.prototype.getNickname = function() { +proto.bet.beteran.member.MemberModel.prototype.getUsername = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.setNickname = function(value) { +proto.bet.beteran.member.MemberModel.prototype.setUsername = function (value) { return jspb.Message.setProto3StringField(this, 8, value); }; - /** - * optional string mobile_phone_number = 9; + * optional string nickname = 9; * @return {string} */ -proto.bet.beteran.member.MemberModel.prototype.getMobilePhoneNumber = function() { +proto.bet.beteran.member.MemberModel.prototype.getNickname = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.setMobilePhoneNumber = function(value) { - return jspb.Message.setField(this, 9, value); +proto.bet.beteran.member.MemberModel.prototype.setNickname = function (value) { + return jspb.Message.setProto3StringField(this, 9, value); }; +/** + * optional string mobile_phone_number = 10; + * @return {string} + */ +proto.bet.beteran.member.MemberModel.prototype.getMobilePhoneNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 10, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setMobilePhoneNumber = function ( + value +) { + return jspb.Message.setField(this, 10, value); +}; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.clearMobilePhoneNumber = function() { - return jspb.Message.setField(this, 9, undefined); -}; - +proto.bet.beteran.member.MemberModel.prototype.clearMobilePhoneNumber = + function () { + return jspb.Message.setField(this, 10, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.MemberModel.prototype.hasMobilePhoneNumber = function() { - return jspb.Message.getField(this, 9) != null; -}; - +proto.bet.beteran.member.MemberModel.prototype.hasMobilePhoneNumber = + function () { + return jspb.Message.getField(this, 10) != null; + }; /** - * optional MemberState state = 10; + * optional MemberState state = 11; * @return {!proto.bet.beteran.member.MemberState} */ -proto.bet.beteran.member.MemberModel.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member.MemberState} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); +proto.bet.beteran.member.MemberModel.prototype.getState = function () { + return /** @type {!proto.bet.beteran.member.MemberState} */ ( + jspb.Message.getFieldWithDefault(this, 11, 0) + ); }; - /** * @param {!proto.bet.beteran.member.MemberState} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.setState = function(value) { - return jspb.Message.setProto3EnumField(this, 10, value); +proto.bet.beteran.member.MemberModel.prototype.setState = function (value) { + return jspb.Message.setProto3EnumField(this, 11, value); }; - /** - * optional uint64 state_changed_at = 11; + * optional uint64 state_changed_at = 12; * @return {number} */ -proto.bet.beteran.member.MemberModel.prototype.getStateChangedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); +proto.bet.beteran.member.MemberModel.prototype.getStateChangedAt = function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.setStateChangedAt = function(value) { - return jspb.Message.setField(this, 11, value); +proto.bet.beteran.member.MemberModel.prototype.setStateChangedAt = function ( + value +) { + return jspb.Message.setField(this, 12, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.clearStateChangedAt = function() { - return jspb.Message.setField(this, 11, undefined); -}; - +proto.bet.beteran.member.MemberModel.prototype.clearStateChangedAt = + function () { + return jspb.Message.setField(this, 12, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.MemberModel.prototype.hasStateChangedAt = function() { - return jspb.Message.getField(this, 11) != null; +proto.bet.beteran.member.MemberModel.prototype.hasStateChangedAt = function () { + return jspb.Message.getField(this, 12) != null; }; - /** - * optional string last_signined_ip = 12; + * optional string last_signined_ip = 13; * @return {string} */ -proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function(value) { - return jspb.Message.setField(this, 12, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.bet.beteran.member.MemberModel} returns this - */ -proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp = function() { - return jspb.Message.setField(this, 12, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedIp = function() { - return jspb.Message.getField(this, 12) != null; -}; - - -/** - * optional uint64 last_signined_at = 13; - * @return {number} - */ -proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.bet.beteran.member.MemberModel} returns this - */ -proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function(value) { +proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function ( + value +) { return jspb.Message.setField(this, 13, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt = function() { - return jspb.Message.setField(this, 13, undefined); -}; - +proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp = + function () { + return jspb.Message.setField(this, 13, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedAt = function() { +proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedIp = function () { return jspb.Message.getField(this, 13) != null; }; - /** - * optional uint64 created_at = 14; + * optional uint64 last_signined_at = 14; * @return {number} */ -proto.bet.beteran.member.MemberModel.prototype.getCreatedAt = function() { +proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); }; - /** * @param {number} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.setCreatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 14, value); +proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function ( + value +) { + return jspb.Message.setField(this, 14, value); }; - -/** - * optional uint64 updated_at = 15; - * @return {number} - */ -proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.bet.beteran.member.MemberModel} returns this - */ -proto.bet.beteran.member.MemberModel.prototype.setUpdatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 15, value); -}; - - -/** - * optional uint64 deleted_at = 16; - * @return {number} - */ -proto.bet.beteran.member.MemberModel.prototype.getDeletedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.bet.beteran.member.MemberModel} returns this - */ -proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function(value) { - return jspb.Message.setField(this, 16, value); -}; - - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member.MemberModel} returns this */ -proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function() { - return jspb.Message.setField(this, 16, undefined); -}; - +proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt = + function () { + return jspb.Message.setField(this, 14, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member.MemberModel.prototype.hasDeletedAt = function() { - return jspb.Message.getField(this, 16) != null; +proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedAt = function () { + return jspb.Message.getField(this, 14) != null; }; +/** + * optional uint64 created_at = 15; + * @return {number} + */ +proto.bet.beteran.member.MemberModel.prototype.getCreatedAt = function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); +}; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setCreatedAt = function (value) { + return jspb.Message.setProto3IntField(this, 15, value); +}; + +/** + * optional uint64 updated_at = 16; + * @return {number} + */ +proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); +}; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setUpdatedAt = function (value) { + return jspb.Message.setProto3IntField(this, 16, value); +}; + +/** + * optional uint64 deleted_at = 17; + * @return {number} + */ +proto.bet.beteran.member.MemberModel.prototype.getDeletedAt = function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0)); +}; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) { + return jspb.Message.setField(this, 17, value); +}; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () { + return jspb.Message.setField(this, 17, undefined); +}; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member.MemberModel.prototype.hasDeletedAt = function () { + return jspb.Message.getField(this, 17) != null; +}; /** * @enum {number} @@ -1518,7 +1480,7 @@ proto.bet.beteran.member.MemberState = { WITHDRAWAL: 3, DORMANCY: 4, BLACKLIST: 5, - SUSPENDED: 6 + SUSPENDED: 6, }; goog.object.extend(exports, proto.bet.beteran.member);