diff --git a/src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts b/src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts index 0e05a0b..29fabdc 100644 --- a/src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts +++ b/src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts @@ -1,10 +1,10 @@ // package: bet.beteran.c2se.member_bank_deposit // file: c2se/member_bank_deposit.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_deposit_pb from "../models/member_bank_deposit_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_deposit_pb from '../models/member_bank_deposit_pb'; export class CreateMemberBankDepositRequest extends jspb.Message { getName(): string; @@ -20,20 +20,31 @@ export class CreateMemberBankDepositRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberBankDepositRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberBankDepositRequest): CreateMemberBankDepositRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberBankDepositRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberBankDepositRequest + ): CreateMemberBankDepositRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberBankDepositRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberBankDepositRequest; - static deserializeBinaryFromReader(message: CreateMemberBankDepositRequest, reader: jspb.BinaryReader): CreateMemberBankDepositRequest; + static deserializeBinaryFromReader( + message: CreateMemberBankDepositRequest, + reader: jspb.BinaryReader + ): CreateMemberBankDepositRequest; } export namespace CreateMemberBankDepositRequest { export type AsObject = { - name: string, - amount: number, - memo: string, - } + name: string; + amount: number; + memo: string; + }; } export class CreateMemberBankDepositResponse extends jspb.Message { @@ -49,40 +60,63 @@ export class CreateMemberBankDepositResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberBankDepositResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberBankDepositResponse): CreateMemberBankDepositResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberBankDepositResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberBankDepositResponse + ): CreateMemberBankDepositResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberBankDepositResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberBankDepositResponse; - static deserializeBinaryFromReader(message: CreateMemberBankDepositResponse, reader: jspb.BinaryReader): CreateMemberBankDepositResponse; + static deserializeBinaryFromReader( + message: CreateMemberBankDepositResponse, + reader: jspb.BinaryReader + ): CreateMemberBankDepositResponse; } export namespace CreateMemberBankDepositResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: CreateMemberBankDepositResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateMemberBankDepositResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankDeposit(): boolean; clearMemberBankDeposit(): void; - getMemberBankDeposit(): models_member_bank_deposit_pb.MemberBankDeposit | undefined; - setMemberBankDeposit(value?: models_member_bank_deposit_pb.MemberBankDeposit): void; + getMemberBankDeposit(): + | models_member_bank_deposit_pb.MemberBankDepositModel + | undefined; + setMemberBankDeposit( + value?: models_member_bank_deposit_pb.MemberBankDepositModel + ): 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 = { - memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDeposit.AsObject, - } + memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDepositModel.AsObject; + }; } } @@ -95,7 +129,10 @@ export class ListMemberBankDepositsRequest 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; @@ -104,20 +141,31 @@ export class ListMemberBankDepositsRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberBankDepositsRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberBankDepositsRequest): ListMemberBankDepositsRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberBankDepositsRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberBankDepositsRequest + ): ListMemberBankDepositsRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberBankDepositsRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberBankDepositsRequest; - static deserializeBinaryFromReader(message: ListMemberBankDepositsRequest, reader: jspb.BinaryReader): ListMemberBankDepositsRequest; + static deserializeBinaryFromReader( + message: ListMemberBankDepositsRequest, + reader: jspb.BinaryReader + ): ListMemberBankDepositsRequest; } export namespace ListMemberBankDepositsRequest { export type AsObject = { - pagination?: protobuf_pagination_pb.Pagination.AsObject, - sortsList: Array, - search?: ListMemberBankDepositsRequest.Search.AsObject, - } + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListMemberBankDepositsRequest.Search.AsObject; + }; export class Search extends jspb.Message { hasMemberId(): boolean; @@ -143,26 +191,36 @@ export namespace ListMemberBankDepositsRequest { hasState(): boolean; clearState(): void; getState(): models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap]; - setState(value: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap]): void; + setState( + value: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap] + ): void; 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, - nameLike: string, - amount: number, - memoLike: string, - state: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap], - } + memberId: string; + nameLike: string; + amount: number; + memoLike: string; + state: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap]; + }; } } @@ -179,40 +237,64 @@ export class ListMemberBankDepositsResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberBankDepositsResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberBankDepositsResponse): ListMemberBankDepositsResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberBankDepositsResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberBankDepositsResponse + ): ListMemberBankDepositsResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberBankDepositsResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberBankDepositsResponse; - static deserializeBinaryFromReader(message: ListMemberBankDepositsResponse, reader: jspb.BinaryReader): ListMemberBankDepositsResponse; + static deserializeBinaryFromReader( + message: ListMemberBankDepositsResponse, + reader: jspb.BinaryReader + ): ListMemberBankDepositsResponse; } export namespace ListMemberBankDepositsResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: ListMemberBankDepositsResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListMemberBankDepositsResponse.Result.AsObject; + }; export class Result extends jspb.Message { clearMemberBankDepositsList(): void; - getMemberBankDepositsList(): Array; - setMemberBankDepositsList(value: Array): void; - addMemberBankDeposits(value?: models_member_bank_deposit_pb.MemberBankDeposit, index?: number): models_member_bank_deposit_pb.MemberBankDeposit; + getMemberBankDepositsList(): Array; + setMemberBankDepositsList( + value: Array + ): void; + addMemberBankDeposits( + value?: models_member_bank_deposit_pb.MemberBankDepositModel, + index?: number + ): models_member_bank_deposit_pb.MemberBankDepositModel; 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 = { - memberBankDepositsList: Array, - } + memberBankDepositsList: Array; + }; } } @@ -222,18 +304,29 @@ export class GetMemberBankDepositRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberBankDepositRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberBankDepositRequest): GetMemberBankDepositRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberBankDepositRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberBankDepositRequest + ): GetMemberBankDepositRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberBankDepositRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberBankDepositRequest; - static deserializeBinaryFromReader(message: GetMemberBankDepositRequest, reader: jspb.BinaryReader): GetMemberBankDepositRequest; + static deserializeBinaryFromReader( + message: GetMemberBankDepositRequest, + reader: jspb.BinaryReader + ): GetMemberBankDepositRequest; } export namespace GetMemberBankDepositRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class GetMemberBankDepositResponse extends jspb.Message { @@ -249,40 +342,63 @@ export class GetMemberBankDepositResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberBankDepositResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberBankDepositResponse): GetMemberBankDepositResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberBankDepositResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberBankDepositResponse + ): GetMemberBankDepositResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberBankDepositResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberBankDepositResponse; - static deserializeBinaryFromReader(message: GetMemberBankDepositResponse, reader: jspb.BinaryReader): GetMemberBankDepositResponse; + static deserializeBinaryFromReader( + message: GetMemberBankDepositResponse, + reader: jspb.BinaryReader + ): GetMemberBankDepositResponse; } export namespace GetMemberBankDepositResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetMemberBankDepositResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberBankDepositResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankDeposit(): boolean; clearMemberBankDeposit(): void; - getMemberBankDeposit(): models_member_bank_deposit_pb.MemberBankDeposit | undefined; - setMemberBankDeposit(value?: models_member_bank_deposit_pb.MemberBankDeposit): void; + getMemberBankDeposit(): + | models_member_bank_deposit_pb.MemberBankDepositModel + | undefined; + setMemberBankDeposit( + value?: models_member_bank_deposit_pb.MemberBankDepositModel + ): 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 = { - memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDeposit.AsObject, - } + memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDepositModel.AsObject; + }; } } @@ -303,21 +419,32 @@ export class UpdateMemberBankDepositRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberBankDepositRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankDepositRequest): UpdateMemberBankDepositRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankDepositRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankDepositRequest + ): UpdateMemberBankDepositRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankDepositRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberBankDepositRequest; - static deserializeBinaryFromReader(message: UpdateMemberBankDepositRequest, reader: jspb.BinaryReader): UpdateMemberBankDepositRequest; + static deserializeBinaryFromReader( + message: UpdateMemberBankDepositRequest, + reader: jspb.BinaryReader + ): UpdateMemberBankDepositRequest; } export namespace UpdateMemberBankDepositRequest { export type AsObject = { - id: string, - name: string, - amount: number, - memo: string, - } + id: string; + name: string; + amount: number; + memo: string; + }; } export class UpdateMemberBankDepositResponse extends jspb.Message { @@ -333,40 +460,63 @@ export class UpdateMemberBankDepositResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberBankDepositResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankDepositResponse): UpdateMemberBankDepositResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankDepositResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankDepositResponse + ): UpdateMemberBankDepositResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankDepositResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberBankDepositResponse; - static deserializeBinaryFromReader(message: UpdateMemberBankDepositResponse, reader: jspb.BinaryReader): UpdateMemberBankDepositResponse; + static deserializeBinaryFromReader( + message: UpdateMemberBankDepositResponse, + reader: jspb.BinaryReader + ): UpdateMemberBankDepositResponse; } export namespace UpdateMemberBankDepositResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberBankDepositResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberBankDepositResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankDeposit(): boolean; clearMemberBankDeposit(): void; - getMemberBankDeposit(): models_member_bank_deposit_pb.MemberBankDeposit | undefined; - setMemberBankDeposit(value?: models_member_bank_deposit_pb.MemberBankDeposit): void; + getMemberBankDeposit(): + | models_member_bank_deposit_pb.MemberBankDepositModel + | undefined; + setMemberBankDeposit( + value?: models_member_bank_deposit_pb.MemberBankDepositModel + ): 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 = { - memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDeposit.AsObject, - } + memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDepositModel.AsObject; + }; } } @@ -375,23 +525,40 @@ export class UpdateMemberBankDepositForStateRequest extends jspb.Message { setId(value: string): void; getState(): models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap]; - setState(value: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap]): void; + setState( + value: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap] + ): void; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): UpdateMemberBankDepositForStateRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankDepositForStateRequest): UpdateMemberBankDepositForStateRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankDepositForStateRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): UpdateMemberBankDepositForStateRequest; - static deserializeBinaryFromReader(message: UpdateMemberBankDepositForStateRequest, reader: jspb.BinaryReader): UpdateMemberBankDepositForStateRequest; + toObject( + includeInstance?: boolean + ): UpdateMemberBankDepositForStateRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankDepositForStateRequest + ): UpdateMemberBankDepositForStateRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankDepositForStateRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): UpdateMemberBankDepositForStateRequest; + static deserializeBinaryFromReader( + message: UpdateMemberBankDepositForStateRequest, + reader: jspb.BinaryReader + ): UpdateMemberBankDepositForStateRequest; } export namespace UpdateMemberBankDepositForStateRequest { export type AsObject = { - id: string, - state: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap], - } + id: string; + state: models_member_bank_deposit_pb.MemberBankDepositStateMap[keyof models_member_bank_deposit_pb.MemberBankDepositStateMap]; + }; } export class UpdateMemberBankDepositForStateResponse extends jspb.Message { @@ -406,41 +573,68 @@ export class UpdateMemberBankDepositForStateResponse extends jspb.Message { setResult(value?: UpdateMemberBankDepositForStateResponse.Result): void; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): UpdateMemberBankDepositForStateResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankDepositForStateResponse): UpdateMemberBankDepositForStateResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankDepositForStateResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): UpdateMemberBankDepositForStateResponse; - static deserializeBinaryFromReader(message: UpdateMemberBankDepositForStateResponse, reader: jspb.BinaryReader): UpdateMemberBankDepositForStateResponse; + toObject( + includeInstance?: boolean + ): UpdateMemberBankDepositForStateResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankDepositForStateResponse + ): UpdateMemberBankDepositForStateResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankDepositForStateResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): UpdateMemberBankDepositForStateResponse; + static deserializeBinaryFromReader( + message: UpdateMemberBankDepositForStateResponse, + reader: jspb.BinaryReader + ): UpdateMemberBankDepositForStateResponse; } export namespace UpdateMemberBankDepositForStateResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberBankDepositForStateResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberBankDepositForStateResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankDeposit(): boolean; clearMemberBankDeposit(): void; - getMemberBankDeposit(): models_member_bank_deposit_pb.MemberBankDeposit | undefined; - setMemberBankDeposit(value?: models_member_bank_deposit_pb.MemberBankDeposit): void; + getMemberBankDeposit(): + | models_member_bank_deposit_pb.MemberBankDepositModel + | undefined; + setMemberBankDeposit( + value?: models_member_bank_deposit_pb.MemberBankDepositModel + ): 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 = { - memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDeposit.AsObject, - } + memberBankDeposit?: models_member_bank_deposit_pb.MemberBankDepositModel.AsObject; + }; } } @@ -450,18 +644,29 @@ export class DeleteMemberBankDepositRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberBankDepositRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberBankDepositRequest): DeleteMemberBankDepositRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberBankDepositRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberBankDepositRequest + ): DeleteMemberBankDepositRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberBankDepositRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberBankDepositRequest; - static deserializeBinaryFromReader(message: DeleteMemberBankDepositRequest, reader: jspb.BinaryReader): DeleteMemberBankDepositRequest; + static deserializeBinaryFromReader( + message: DeleteMemberBankDepositRequest, + reader: jspb.BinaryReader + ): DeleteMemberBankDepositRequest; } export namespace DeleteMemberBankDepositRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class DeleteMemberBankDepositResponse extends jspb.Message { @@ -477,34 +682,51 @@ export class DeleteMemberBankDepositResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberBankDepositResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberBankDepositResponse): DeleteMemberBankDepositResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberBankDepositResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberBankDepositResponse + ): DeleteMemberBankDepositResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberBankDepositResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberBankDepositResponse; - static deserializeBinaryFromReader(message: DeleteMemberBankDepositResponse, reader: jspb.BinaryReader): DeleteMemberBankDepositResponse; + static deserializeBinaryFromReader( + message: DeleteMemberBankDepositResponse, + reader: jspb.BinaryReader + ): DeleteMemberBankDepositResponse; } export namespace DeleteMemberBankDepositResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: DeleteMemberBankDepositResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteMemberBankDepositResponse.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_deposit_pb.js b/src/app/modules/proto/c2se/member_bank_deposit_pb.js index 34081a3..66cddad 100644 --- a/src/app/modules/proto/c2se/member_bank_deposit_pb.js +++ b/src/app/modules/proto/c2se/member_bank_deposit_pb.js @@ -11,35 +11,113 @@ /* 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_deposit_pb = require('../models/member_bank_deposit_pb.js'); +var models_member_bank_deposit_pb = require("../models/member_bank_deposit_pb.js"); goog.object.extend(proto, models_member_bank_deposit_pb); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result', null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -50,16 +128,21 @@ goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDe * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest'; + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest"; } /** * Generated by JsPbCodeGenerator. @@ -71,16 +154,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse'; + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse"; } /** * Generated by JsPbCodeGenerator. @@ -92,16 +180,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result'; + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -113,16 +207,29 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest + .repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest'; + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest"; } /** * Generated by JsPbCodeGenerator. @@ -134,16 +241,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest + .Search, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search'; + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search"; } /** * Generated by JsPbCodeGenerator. @@ -155,16 +268,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse'; + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse"; } /** * Generated by JsPbCodeGenerator. @@ -176,16 +294,30 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse + .Result.repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result'; + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -197,16 +329,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest'; + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest"; } /** * Generated by JsPbCodeGenerator. @@ -218,16 +355,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse'; + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse"; } /** * Generated by JsPbCodeGenerator. @@ -239,16 +381,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result'; + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -260,16 +408,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest'; + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest"; } /** * Generated by JsPbCodeGenerator. @@ -281,16 +434,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse'; + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse"; } /** * Generated by JsPbCodeGenerator. @@ -302,16 +460,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result'; + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -323,16 +487,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit + .UpdateMemberBankDepositForStateRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest'; + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest"; } /** * Generated by JsPbCodeGenerator. @@ -344,16 +514,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit + .UpdateMemberBankDepositForStateResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse'; + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse"; } /** * Generated by JsPbCodeGenerator. @@ -365,16 +541,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit + .UpdateMemberBankDepositForStateResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result'; + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -386,16 +568,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest'; + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest"; } /** * Generated by JsPbCodeGenerator. @@ -407,16 +594,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse'; + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse"; } /** * Generated by JsPbCodeGenerator. @@ -428,73 +620,85 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result'; + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.CreateMemberBankDepositRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.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_deposit.CreateMemberBankDepositRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.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_deposit.CreateMemberBankDepositRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + amount: jspb.Message.getFieldWithDefault(msg, 2, 0), + memo: jspb.Message.getFieldWithDefault(msg, 3, ""), + }; -/** - * 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_deposit.CreateMemberBankDepositRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - amount: jspb.Message.getFieldWithDefault(msg, 2, 0), - memo: jspb.Message.getFieldWithDefault(msg, 3, "") - }; - - 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_deposit.CreateMemberBankDepositRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest; - return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest(); + return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -503,44 +707,47 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.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.setName(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 3: + 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.setName(value); - break; - case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setAmount(value); - break; - case 3: - 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_deposit.CreateMemberBankDepositRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -549,159 +756,166 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getAmount(); - if (f !== 0) { - writer.writeUint32( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getAmount(); + if (f !== 0) { + writer.writeUint32(2, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString(3, f); + } + }; /** * optional string name = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional uint32 amount = 2; * @return {number} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getAmount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setAmount = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setAmount = + function (value) { + return jspb.Message.setProto3IntField(this, 2, value); + }; /** * optional string memo = 3; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setMemo = function(value) { - return jspb.Message.setField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 3, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.hasMemo = 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_deposit.CreateMemberBankDepositResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.hasMemo = + 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_deposit.CreateMemberBankDepositResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse; - return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse(); + return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -710,42 +924,54 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.deser * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_deposit + .CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -754,81 +980,88 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.proto * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankDeposit: (f = msg.getMemberBankDeposit()) && models_member_bank_deposit_pb.MemberBankDeposit.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit + .CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankDeposit: + (f = msg.getMemberBankDeposit()) && + models_member_bank_deposit_pb.MemberBankDepositModel.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_deposit.CreateMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result; - return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result(); + return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -837,37 +1070,45 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Resul * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit_pb.MemberBankDepositModel(); + reader.readMessage( + value, + models_member_bank_deposit_pb.MemberBankDepositModel + .deserializeBinaryFromReader + ); + msg.setMemberBankDeposit(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_deposit_pb.MemberBankDeposit; - reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); - msg.setMemberBankDeposit(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_deposit.CreateMemberBankDepositResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -876,194 +1117,223 @@ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Resul * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankDeposit(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankDeposit(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_deposit_pb.MemberBankDepositModel + .serializeBinaryToWriter + ); + } + }; /** - * optional bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1; - * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} + * optional bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1; + * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = function() { - return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ ( - jspb.Message.getWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = + function () { + return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_deposit_pb.MemberBankDepositModel, + 1 + ) + ); + }; /** - * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit|undefined} value + * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = function() { - return this.setMemberBankDeposit(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = + function () { + return this.setMemberBankDeposit(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = + 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_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_deposit + .CreateMemberBankDepositResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.CreateMemberBankDepositResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_deposit.ListMemberBankDepositsRequest.repeatedFields_ = [2]; - - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest; - return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest(); + return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1072,47 +1342,61 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.deseria * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_deposit + .ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.Search; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1121,93 +1405,99 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototy * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.Search.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.Search} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.toObject = function(includeInstance, msg) { - var f, obj = { - memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), - nameLike: jspb.Message.getFieldWithDefault(msg, 2, ""), - amount: jspb.Message.getFieldWithDefault(msg, 3, 0), - memoLike: jspb.Message.getFieldWithDefault(msg, 4, ""), - state: jspb.Message.getFieldWithDefault(msg, 5, 0) +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest + .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_deposit.ListMemberBankDepositsRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), + nameLike: jspb.Message.getFieldWithDefault(msg, 2, ""), + amount: jspb.Message.getFieldWithDefault(msg, 3, 0), + memoLike: jspb.Message.getFieldWithDefault(msg, 4, ""), + state: jspb.Message.getFieldWithDefault(msg, 5, 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.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search; - return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search(); + return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1216,52 +1506,58 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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.setNameLike(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setMemoLike(value); + break; + case 5: + var value = + /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + reader.readEnum() + ); + msg.setState(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.setNameLike(value); - break; - case 3: - var value = /** @type {number} */ (reader.readUint32()); - msg.setAmount(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setMemoLike(value); - break; - case 5: - var value = /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (reader.readEnum()); - msg.setState(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_deposit.ListMemberBankDepositsRequest.Search.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1270,393 +1566,415 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search. * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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 {number} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeUint32( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeString( - 4, - f - ); - } - f = /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeEnum( - 5, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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 {number} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeUint32(3, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString(4, f); + } + f = + /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + jspb.Message.getField(message, 5) + ); + if (f != null) { + writer.writeEnum(5, f); + } + }; /** * optional string member_id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getMemberId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setMemberId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearMemberId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.Search.prototype.hasMemberId = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasMemberId = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional string name_like = 2; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getNameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getNameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setNameLike = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setNameLike = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearNameLike = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearNameLike = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasNameLike = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasNameLike = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional uint32 amount = 3; * @return {number} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getAmount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setAmount = function(value) { - return jspb.Message.setField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setAmount = + function (value) { + return jspb.Message.setField(this, 3, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearAmount = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearAmount = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasAmount = function() { - return jspb.Message.getField(this, 3) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasAmount = + function () { + return jspb.Message.getField(this, 3) != null; + }; /** * optional string memo_like = 4; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getMemoLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getMemoLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setMemoLike = function(value) { - return jspb.Message.setField(this, 4, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setMemoLike = + function (value) { + return jspb.Message.setField(this, 4, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearMemoLike = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearMemoLike = + function () { + return jspb.Message.setField(this, 4, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasMemoLike = function() { - return jspb.Message.getField(this, 4) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasMemoLike = + function () { + return jspb.Message.getField(this, 4) != null; + }; /** * optional bet.beteran.member_bank_deposit.MemberBankDepositState state = 5; * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + jspb.Message.getFieldWithDefault(this, 5, 0) + ); + }; /** * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setState = function(value) { - return jspb.Message.setField(this, 5, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setState = + function (value) { + return jspb.Message.setField(this, 5, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearState = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearState = + function () { + return jspb.Message.setField(this, 5, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasState = function() { - return jspb.Message.getField(this, 5) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasState = + 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_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.setPagination = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearPagination = function() { - return this.setPagination(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.hasPagination = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.prototype.getSortsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.setSortsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearSortsList = function() { - return this.setSortsList([]); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.getSearch = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search, 3)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.getSearch = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest + .Search, + 3 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.setSearch = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearSearch = function() { - return this.setSearch(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_deposit.ListMemberBankDepositsResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse; - return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse(); + return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1665,42 +1983,53 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_deposit + .ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1709,89 +2038,95 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.Result.serializeBinaryToWriter - ); - } -}; - - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit + .ListMemberBankDepositsResponse.Result.serializeBinaryToWriter + ); + } + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.repeatedFields_ = [1]; - - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankDepositsList: jspb.Message.toObjectList( + msg.getMemberBankDepositsList(), + models_member_bank_deposit_pb.MemberBankDepositModel.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_deposit.ListMemberBankDepositsResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankDepositsList: jspb.Message.toObjectList(msg.getMemberBankDepositsList(), - models_member_bank_deposit_pb.MemberBankDeposit.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_deposit.ListMemberBankDepositsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result; - return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result(); + return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1800,37 +2135,45 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit_pb.MemberBankDepositModel(); + reader.readMessage( + value, + models_member_bank_deposit_pb.MemberBankDepositModel + .deserializeBinaryFromReader + ); + msg.addMemberBankDeposits(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_deposit_pb.MemberBankDeposit; - reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); - msg.addMemberBankDeposits(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_deposit.ListMemberBankDepositsResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1839,185 +2182,209 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankDepositsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankDepositsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + models_member_bank_deposit_pb.MemberBankDepositModel + .serializeBinaryToWriter + ); + } + }; + +/** + * repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 1; + * @return {!Array} + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.getMemberBankDepositsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField( + this, + models_member_bank_deposit_pb.MemberBankDepositModel, + 1 + ) ); - } -}; - + }; /** - * repeated bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposits = 1; - * @return {!Array} - */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.getMemberBankDepositsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); -}; - - -/** - * @param {!Array} value + * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.setMemberBankDepositsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.setMemberBankDepositsList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); + }; /** - * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit=} opt_value + * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel=} opt_value * @param {number=} opt_index - * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.addMemberBankDeposits = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.member_bank_deposit.MemberBankDeposit, opt_index); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.addMemberBankDeposits = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 1, + opt_value, + proto.bet.beteran.member_bank_deposit.MemberBankDepositModel, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.clearMemberBankDepositsList = function() { - return this.setMemberBankDepositsList([]); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.clearMemberBankDepositsList = + function () { + return this.setMemberBankDepositsList([]); + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_deposit + .ListMemberBankDepositsResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.ListMemberBankDepositsResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.GetMemberBankDepositRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_deposit.GetMemberBankDepositRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_deposit.GetMemberBankDepositRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_deposit.GetMemberBankDepositRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_deposit.GetMemberBankDepositRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest; - return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest(); + return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2026,36 +2393,39 @@ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.deseriali * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_deposit.GetMemberBankDepositRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2064,91 +2434,102 @@ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.prototype * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_deposit.GetMemberBankDepositRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_deposit.GetMemberBankDepositResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_deposit.GetMemberBankDepositResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse; - return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse(); + return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2157,42 +2538,53 @@ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.deserial * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_deposit + .GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2201,81 +2593,88 @@ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototyp * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankDeposit: (f = msg.getMemberBankDeposit()) && models_member_bank_deposit_pb.MemberBankDeposit.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse + .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_deposit.GetMemberBankDepositResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankDeposit: + (f = msg.getMemberBankDeposit()) && + models_member_bank_deposit_pb.MemberBankDepositModel.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_deposit.GetMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result; - return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result(); + return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2284,37 +2683,45 @@ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.d * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit_pb.MemberBankDepositModel(); + reader.readMessage( + value, + models_member_bank_deposit_pb.MemberBankDepositModel + .deserializeBinaryFromReader + ); + msg.setMemberBankDeposit(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_deposit_pb.MemberBankDeposit; - reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); - msg.setMemberBankDeposit(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_deposit.GetMemberBankDepositResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2323,187 +2730,205 @@ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.p * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankDeposit(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankDeposit(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_deposit_pb.MemberBankDepositModel + .serializeBinaryToWriter + ); + } + }; /** - * optional bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1; - * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} + * optional bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1; + * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = function() { - return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ ( - jspb.Message.getWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = + function () { + return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_deposit_pb.MemberBankDepositModel, + 1 + ) + ); + }; /** - * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit|undefined} value + * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = function() { - return this.setMemberBankDeposit(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = + function () { + return this.setMemberBankDeposit(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = + 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_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse + .Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.GetMemberBankDepositResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.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_deposit.UpdateMemberBankDepositRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - amount: jspb.Message.getFieldWithDefault(msg, 5, 0), - memo: jspb.Message.getFieldWithDefault(msg, 7, "") +proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.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_deposit.UpdateMemberBankDepositRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + amount: jspb.Message.getFieldWithDefault(msg, 5, 0), + memo: jspb.Message.getFieldWithDefault(msg, 7, ""), + }; + + 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_deposit.UpdateMemberBankDepositRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest; - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest(); + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2512,48 +2937,51 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.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 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 7: + 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 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 5: - var value = /** @type {number} */ (reader.readUint32()); - msg.setAmount(value); - break; - case 7: - 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_deposit.UpdateMemberBankDepositRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2562,184 +2990,190 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getAmount(); - if (f !== 0) { - writer.writeUint32( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeString( - 7, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = message.getAmount(); + if (f !== 0) { + writer.writeUint32(5, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString(7, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string name = 3; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional uint32 amount = 5; * @return {number} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getAmount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setAmount = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setAmount = + function (value) { + return jspb.Message.setProto3IntField(this, 5, value); + }; /** * optional string memo = 7; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 7, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setMemo = function(value) { - return jspb.Message.setField(this, 7, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 7, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 7, undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 7, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.hasMemo = function() { - return jspb.Message.getField(this, 7) != 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_deposit.UpdateMemberBankDepositResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 7) != 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_deposit.UpdateMemberBankDepositResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse; - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse(); + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2748,42 +3182,54 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.deser * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_deposit + .UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2792,81 +3238,88 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.proto * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankDeposit: (f = msg.getMemberBankDeposit()) && models_member_bank_deposit_pb.MemberBankDeposit.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit + .UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankDeposit: + (f = msg.getMemberBankDeposit()) && + models_member_bank_deposit_pb.MemberBankDepositModel.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_deposit.UpdateMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result; - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result(); + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2875,37 +3328,45 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Resul * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit_pb.MemberBankDepositModel(); + reader.readMessage( + value, + models_member_bank_deposit_pb.MemberBankDepositModel + .deserializeBinaryFromReader + ); + msg.setMemberBankDeposit(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_deposit_pb.MemberBankDeposit; - reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); - msg.setMemberBankDeposit(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_deposit.UpdateMemberBankDepositResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2914,185 +3375,203 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Resul * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankDeposit(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankDeposit(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_deposit_pb.MemberBankDepositModel + .serializeBinaryToWriter + ); + } + }; /** - * optional bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1; - * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} + * optional bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1; + * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = function() { - return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ ( - jspb.Message.getWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = + function () { + return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_deposit_pb.MemberBankDepositModel, + 1 + ) + ); + }; /** - * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit|undefined} value + * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = function() { - return this.setMemberBankDeposit(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = + function () { + return this.setMemberBankDeposit(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = + 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_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_deposit + .UpdateMemberBankDepositResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositForStateRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.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_deposit.UpdateMemberBankDepositForStateRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - state: jspb.Message.getFieldWithDefault(msg, 2, 0) +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_deposit.UpdateMemberBankDepositForStateRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.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_deposit.UpdateMemberBankDepositForStateRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + state: jspb.Message.getFieldWithDefault(msg, 2, 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.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest; - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest(); + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3101,40 +3580,46 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateReques * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.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 {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + reader.readEnum() + ); + msg.setState(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 {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (reader.readEnum()); - msg.setState(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_deposit.UpdateMemberBankDepositForStateRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3143,116 +3628,126 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateReques * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getState(); - if (f !== 0.0) { - writer.writeEnum( - 2, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum(2, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional bet.beteran.member_bank_deposit.MemberBankDepositState state = 2; * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + jspb.Message.getFieldWithDefault(this, 2, 0) + ); + }; /** * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.setState = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.setState = + function (value) { + return jspb.Message.setProto3EnumField(this, 2, 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_deposit.UpdateMemberBankDepositForStateResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse; - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse(); + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3261,42 +3756,54 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRespon * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_deposit + .UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3305,81 +3812,89 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRespon * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankDeposit: (f = msg.getMemberBankDeposit()) && models_member_bank_deposit_pb.MemberBankDeposit.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit + .UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankDeposit: + (f = msg.getMemberBankDeposit()) && + models_member_bank_deposit_pb.MemberBankDepositModel.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_deposit.UpdateMemberBankDepositForStateResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result; - return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result(); + return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3388,37 +3903,45 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRespon * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit_pb.MemberBankDepositModel(); + reader.readMessage( + value, + models_member_bank_deposit_pb.MemberBankDepositModel + .deserializeBinaryFromReader + ); + msg.setMemberBankDeposit(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_deposit_pb.MemberBankDeposit; - reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); - msg.setMemberBankDeposit(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_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3427,184 +3950,202 @@ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRespon * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankDeposit(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankDeposit(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_deposit_pb.MemberBankDepositModel + .serializeBinaryToWriter + ); + } + }; /** - * optional bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1; - * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} + * optional bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposit = 1; + * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.getMemberBankDeposit = function() { - return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ ( - jspb.Message.getWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.getMemberBankDeposit = + function () { + return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_deposit_pb.MemberBankDepositModel, + 1 + ) + ); + }; /** - * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit|undefined} value + * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDepositModel|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.setMemberBankDeposit = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.setMemberBankDeposit = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.clearMemberBankDeposit = function() { - return this.setMemberBankDeposit(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.clearMemberBankDeposit = + function () { + return this.setMemberBankDeposit(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.hasMemberBankDeposit = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.hasMemberBankDeposit = + 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_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_deposit + .UpdateMemberBankDepositForStateResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.UpdateMemberBankDepositForStateResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.DeleteMemberBankDepositRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_deposit.DeleteMemberBankDepositRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_deposit.DeleteMemberBankDepositRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_deposit.DeleteMemberBankDepositRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_deposit.DeleteMemberBankDepositRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest; - return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest(); + return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3613,36 +4154,39 @@ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_deposit.DeleteMemberBankDepositRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3651,91 +4195,102 @@ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_deposit.DeleteMemberBankDepositRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_deposit.DeleteMemberBankDepositResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_deposit.DeleteMemberBankDepositResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse; - return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse(); + return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3744,42 +4299,54 @@ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.deser * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_deposit + .DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3788,81 +4355,81 @@ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.proto * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit + .DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result; - return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result(); + return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3871,32 +4438,35 @@ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Resul * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3905,83 +4475,90 @@ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Resul * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_deposit + .DeleteMemberBankDepositResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_deposit.DeleteMemberBankDepositResponse} returns this */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; goog.object.extend(exports, proto.bet.beteran.c2se.member_bank_deposit); diff --git a/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts b/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts index b46e327..57d8c1e 100644 --- a/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts +++ b/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts @@ -1,10 +1,10 @@ // package: bet.beteran.c2se.member_bank_withdraw // file: c2se/member_bank_withdraw.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_withdraw_pb from "../models/member_bank_withdraw_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_withdraw_pb from '../models/member_bank_withdraw_pb'; export class CreateMemberBankWithdrawRequest extends jspb.Message { getBankName(): string; @@ -29,23 +29,34 @@ export class CreateMemberBankWithdrawRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberBankWithdrawRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberBankWithdrawRequest): CreateMemberBankWithdrawRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberBankWithdrawRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberBankWithdrawRequest + ): CreateMemberBankWithdrawRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberBankWithdrawRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberBankWithdrawRequest; - static deserializeBinaryFromReader(message: CreateMemberBankWithdrawRequest, reader: jspb.BinaryReader): CreateMemberBankWithdrawRequest; + static deserializeBinaryFromReader( + message: CreateMemberBankWithdrawRequest, + reader: jspb.BinaryReader + ): CreateMemberBankWithdrawRequest; } export namespace CreateMemberBankWithdrawRequest { export type AsObject = { - bankName: string, - name: string, - accountNumber: string, - amount: number, - password: string, - memo: string, - } + bankName: string; + name: string; + accountNumber: string; + amount: number; + password: string; + memo: string; + }; } export class CreateMemberBankWithdrawResponse extends jspb.Message { @@ -60,41 +71,66 @@ export class CreateMemberBankWithdrawResponse extends jspb.Message { setResult(value?: CreateMemberBankWithdrawResponse.Result): void; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CreateMemberBankWithdrawResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberBankWithdrawResponse): CreateMemberBankWithdrawResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberBankWithdrawResponse, writer: jspb.BinaryWriter): void; + toObject( + includeInstance?: boolean + ): CreateMemberBankWithdrawResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: CreateMemberBankWithdrawResponse + ): CreateMemberBankWithdrawResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberBankWithdrawResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberBankWithdrawResponse; - static deserializeBinaryFromReader(message: CreateMemberBankWithdrawResponse, reader: jspb.BinaryReader): CreateMemberBankWithdrawResponse; + static deserializeBinaryFromReader( + message: CreateMemberBankWithdrawResponse, + reader: jspb.BinaryReader + ): CreateMemberBankWithdrawResponse; } export namespace CreateMemberBankWithdrawResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: CreateMemberBankWithdrawResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateMemberBankWithdrawResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankWithdraw(): boolean; clearMemberBankWithdraw(): void; - getMemberBankWithdraw(): models_member_bank_withdraw_pb.MemberBankWithdraw | undefined; - setMemberBankWithdraw(value?: models_member_bank_withdraw_pb.MemberBankWithdraw): void; + getMemberBankWithdraw(): + | models_member_bank_withdraw_pb.MemberBankWithdrawModel + | undefined; + setMemberBankWithdraw( + value?: models_member_bank_withdraw_pb.MemberBankWithdrawModel + ): 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 = { - memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject, - } + memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdrawModel.AsObject; + }; } } @@ -107,7 +143,10 @@ export class ListMemberBankWithdrawsRequest 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; @@ -116,20 +155,31 @@ export class ListMemberBankWithdrawsRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberBankWithdrawsRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberBankWithdrawsRequest): ListMemberBankWithdrawsRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberBankWithdrawsRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberBankWithdrawsRequest + ): ListMemberBankWithdrawsRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberBankWithdrawsRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberBankWithdrawsRequest; - static deserializeBinaryFromReader(message: ListMemberBankWithdrawsRequest, reader: jspb.BinaryReader): ListMemberBankWithdrawsRequest; + static deserializeBinaryFromReader( + message: ListMemberBankWithdrawsRequest, + reader: jspb.BinaryReader + ): ListMemberBankWithdrawsRequest; } export namespace ListMemberBankWithdrawsRequest { export type AsObject = { - pagination?: protobuf_pagination_pb.Pagination.AsObject, - sortsList: Array, - search?: ListMemberBankWithdrawsRequest.Search.AsObject, - } + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListMemberBankWithdrawsRequest.Search.AsObject; + }; export class Search extends jspb.Message { hasMemberId(): boolean; @@ -165,28 +215,38 @@ export namespace ListMemberBankWithdrawsRequest { hasState(): boolean; clearState(): void; getState(): models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap]; - setState(value: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap]): void; + setState( + value: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap] + ): void; 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, - bankNameLike: string, - nameLike: string, - accountNumberLike: string, - amount: number, - memoLike: string, - state: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap], - } + memberId: string; + bankNameLike: string; + nameLike: string; + accountNumberLike: string; + amount: number; + memoLike: string; + state: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap]; + }; } } @@ -203,40 +263,64 @@ export class ListMemberBankWithdrawsResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberBankWithdrawsResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberBankWithdrawsResponse): ListMemberBankWithdrawsResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberBankWithdrawsResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberBankWithdrawsResponse + ): ListMemberBankWithdrawsResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberBankWithdrawsResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberBankWithdrawsResponse; - static deserializeBinaryFromReader(message: ListMemberBankWithdrawsResponse, reader: jspb.BinaryReader): ListMemberBankWithdrawsResponse; + static deserializeBinaryFromReader( + message: ListMemberBankWithdrawsResponse, + reader: jspb.BinaryReader + ): ListMemberBankWithdrawsResponse; } export namespace ListMemberBankWithdrawsResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: ListMemberBankWithdrawsResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListMemberBankWithdrawsResponse.Result.AsObject; + }; export class Result extends jspb.Message { clearMemberBankWithdrawsList(): void; - getMemberBankWithdrawsList(): Array; - setMemberBankWithdrawsList(value: Array): void; - addMemberBankWithdraws(value?: models_member_bank_withdraw_pb.MemberBankWithdraw, index?: number): models_member_bank_withdraw_pb.MemberBankWithdraw; + getMemberBankWithdrawsList(): Array; + setMemberBankWithdrawsList( + value: Array + ): void; + addMemberBankWithdraws( + value?: models_member_bank_withdraw_pb.MemberBankWithdrawModel, + index?: number + ): models_member_bank_withdraw_pb.MemberBankWithdrawModel; 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 = { - memberBankWithdrawsList: Array, - } + memberBankWithdrawsList: Array; + }; } } @@ -246,18 +330,29 @@ export class GetMemberBankWithdrawRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberBankWithdrawRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberBankWithdrawRequest): GetMemberBankWithdrawRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberBankWithdrawRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberBankWithdrawRequest + ): GetMemberBankWithdrawRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberBankWithdrawRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberBankWithdrawRequest; - static deserializeBinaryFromReader(message: GetMemberBankWithdrawRequest, reader: jspb.BinaryReader): GetMemberBankWithdrawRequest; + static deserializeBinaryFromReader( + message: GetMemberBankWithdrawRequest, + reader: jspb.BinaryReader + ): GetMemberBankWithdrawRequest; } export namespace GetMemberBankWithdrawRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class GetMemberBankWithdrawResponse extends jspb.Message { @@ -273,40 +368,63 @@ export class GetMemberBankWithdrawResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberBankWithdrawResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberBankWithdrawResponse): GetMemberBankWithdrawResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberBankWithdrawResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberBankWithdrawResponse + ): GetMemberBankWithdrawResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberBankWithdrawResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberBankWithdrawResponse; - static deserializeBinaryFromReader(message: GetMemberBankWithdrawResponse, reader: jspb.BinaryReader): GetMemberBankWithdrawResponse; + static deserializeBinaryFromReader( + message: GetMemberBankWithdrawResponse, + reader: jspb.BinaryReader + ): GetMemberBankWithdrawResponse; } export namespace GetMemberBankWithdrawResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetMemberBankWithdrawResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberBankWithdrawResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankWithdraw(): boolean; clearMemberBankWithdraw(): void; - getMemberBankWithdraw(): models_member_bank_withdraw_pb.MemberBankWithdraw | undefined; - setMemberBankWithdraw(value?: models_member_bank_withdraw_pb.MemberBankWithdraw): void; + getMemberBankWithdraw(): + | models_member_bank_withdraw_pb.MemberBankWithdrawModel + | undefined; + setMemberBankWithdraw( + value?: models_member_bank_withdraw_pb.MemberBankWithdrawModel + ): 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 = { - memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject, - } + memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdrawModel.AsObject; + }; } } @@ -336,24 +454,35 @@ export class UpdateMemberBankWithdrawRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberBankWithdrawRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankWithdrawRequest): UpdateMemberBankWithdrawRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankWithdrawRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankWithdrawRequest + ): UpdateMemberBankWithdrawRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankWithdrawRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberBankWithdrawRequest; - static deserializeBinaryFromReader(message: UpdateMemberBankWithdrawRequest, reader: jspb.BinaryReader): UpdateMemberBankWithdrawRequest; + static deserializeBinaryFromReader( + message: UpdateMemberBankWithdrawRequest, + reader: jspb.BinaryReader + ): UpdateMemberBankWithdrawRequest; } export namespace UpdateMemberBankWithdrawRequest { export type AsObject = { - id: string, - bankName: string, - name: string, - accountNumber: string, - amount: number, - password: string, - memo: string, - } + id: string; + bankName: string; + name: string; + accountNumber: string; + amount: number; + password: string; + memo: string; + }; } export class UpdateMemberBankWithdrawResponse extends jspb.Message { @@ -368,41 +497,66 @@ export class UpdateMemberBankWithdrawResponse extends jspb.Message { setResult(value?: UpdateMemberBankWithdrawResponse.Result): void; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): UpdateMemberBankWithdrawResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankWithdrawResponse): UpdateMemberBankWithdrawResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankWithdrawResponse, writer: jspb.BinaryWriter): void; + toObject( + includeInstance?: boolean + ): UpdateMemberBankWithdrawResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankWithdrawResponse + ): UpdateMemberBankWithdrawResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankWithdrawResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberBankWithdrawResponse; - static deserializeBinaryFromReader(message: UpdateMemberBankWithdrawResponse, reader: jspb.BinaryReader): UpdateMemberBankWithdrawResponse; + static deserializeBinaryFromReader( + message: UpdateMemberBankWithdrawResponse, + reader: jspb.BinaryReader + ): UpdateMemberBankWithdrawResponse; } export namespace UpdateMemberBankWithdrawResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberBankWithdrawResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberBankWithdrawResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankWithdraw(): boolean; clearMemberBankWithdraw(): void; - getMemberBankWithdraw(): models_member_bank_withdraw_pb.MemberBankWithdraw | undefined; - setMemberBankWithdraw(value?: models_member_bank_withdraw_pb.MemberBankWithdraw): void; + getMemberBankWithdraw(): + | models_member_bank_withdraw_pb.MemberBankWithdrawModel + | undefined; + setMemberBankWithdraw( + value?: models_member_bank_withdraw_pb.MemberBankWithdrawModel + ): 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 = { - memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject, - } + memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdrawModel.AsObject; + }; } } @@ -411,23 +565,40 @@ export class UpdateMemberBankWithdrawForStateRequest extends jspb.Message { setId(value: string): void; getState(): models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap]; - setState(value: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap]): void; + setState( + value: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap] + ): void; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): UpdateMemberBankWithdrawForStateRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankWithdrawForStateRequest): UpdateMemberBankWithdrawForStateRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankWithdrawForStateRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): UpdateMemberBankWithdrawForStateRequest; - static deserializeBinaryFromReader(message: UpdateMemberBankWithdrawForStateRequest, reader: jspb.BinaryReader): UpdateMemberBankWithdrawForStateRequest; + toObject( + includeInstance?: boolean + ): UpdateMemberBankWithdrawForStateRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankWithdrawForStateRequest + ): UpdateMemberBankWithdrawForStateRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankWithdrawForStateRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): UpdateMemberBankWithdrawForStateRequest; + static deserializeBinaryFromReader( + message: UpdateMemberBankWithdrawForStateRequest, + reader: jspb.BinaryReader + ): UpdateMemberBankWithdrawForStateRequest; } export namespace UpdateMemberBankWithdrawForStateRequest { export type AsObject = { - id: string, - state: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap], - } + id: string; + state: models_member_bank_withdraw_pb.MemberBankWithdrawStateMap[keyof models_member_bank_withdraw_pb.MemberBankWithdrawStateMap]; + }; } export class UpdateMemberBankWithdrawForStateResponse extends jspb.Message { @@ -442,41 +613,68 @@ export class UpdateMemberBankWithdrawForStateResponse extends jspb.Message { setResult(value?: UpdateMemberBankWithdrawForStateResponse.Result): void; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): UpdateMemberBankWithdrawForStateResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberBankWithdrawForStateResponse): UpdateMemberBankWithdrawForStateResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberBankWithdrawForStateResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): UpdateMemberBankWithdrawForStateResponse; - static deserializeBinaryFromReader(message: UpdateMemberBankWithdrawForStateResponse, reader: jspb.BinaryReader): UpdateMemberBankWithdrawForStateResponse; + toObject( + includeInstance?: boolean + ): UpdateMemberBankWithdrawForStateResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberBankWithdrawForStateResponse + ): UpdateMemberBankWithdrawForStateResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberBankWithdrawForStateResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): UpdateMemberBankWithdrawForStateResponse; + static deserializeBinaryFromReader( + message: UpdateMemberBankWithdrawForStateResponse, + reader: jspb.BinaryReader + ): UpdateMemberBankWithdrawForStateResponse; } export namespace UpdateMemberBankWithdrawForStateResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberBankWithdrawForStateResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberBankWithdrawForStateResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberBankWithdraw(): boolean; clearMemberBankWithdraw(): void; - getMemberBankWithdraw(): models_member_bank_withdraw_pb.MemberBankWithdraw | undefined; - setMemberBankWithdraw(value?: models_member_bank_withdraw_pb.MemberBankWithdraw): void; + getMemberBankWithdraw(): + | models_member_bank_withdraw_pb.MemberBankWithdrawModel + | undefined; + setMemberBankWithdraw( + value?: models_member_bank_withdraw_pb.MemberBankWithdrawModel + ): 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 = { - memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdraw.AsObject, - } + memberBankWithdraw?: models_member_bank_withdraw_pb.MemberBankWithdrawModel.AsObject; + }; } } @@ -486,18 +684,29 @@ export class DeleteMemberBankWithdrawRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberBankWithdrawRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberBankWithdrawRequest): DeleteMemberBankWithdrawRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberBankWithdrawRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberBankWithdrawRequest + ): DeleteMemberBankWithdrawRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberBankWithdrawRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberBankWithdrawRequest; - static deserializeBinaryFromReader(message: DeleteMemberBankWithdrawRequest, reader: jspb.BinaryReader): DeleteMemberBankWithdrawRequest; + static deserializeBinaryFromReader( + message: DeleteMemberBankWithdrawRequest, + reader: jspb.BinaryReader + ): DeleteMemberBankWithdrawRequest; } export namespace DeleteMemberBankWithdrawRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class DeleteMemberBankWithdrawResponse extends jspb.Message { @@ -512,35 +721,54 @@ export class DeleteMemberBankWithdrawResponse extends jspb.Message { setResult(value?: DeleteMemberBankWithdrawResponse.Result): void; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): DeleteMemberBankWithdrawResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberBankWithdrawResponse): DeleteMemberBankWithdrawResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberBankWithdrawResponse, writer: jspb.BinaryWriter): void; + toObject( + includeInstance?: boolean + ): DeleteMemberBankWithdrawResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: DeleteMemberBankWithdrawResponse + ): DeleteMemberBankWithdrawResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberBankWithdrawResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberBankWithdrawResponse; - static deserializeBinaryFromReader(message: DeleteMemberBankWithdrawResponse, reader: jspb.BinaryReader): DeleteMemberBankWithdrawResponse; + static deserializeBinaryFromReader( + message: DeleteMemberBankWithdrawResponse, + reader: jspb.BinaryReader + ): DeleteMemberBankWithdrawResponse; } export namespace DeleteMemberBankWithdrawResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: DeleteMemberBankWithdrawResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteMemberBankWithdrawResponse.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_withdraw_pb.js b/src/app/modules/proto/c2se/member_bank_withdraw_pb.js index 31468e7..31b7bf5 100644 --- a/src/app/modules/proto/c2se/member_bank_withdraw_pb.js +++ b/src/app/modules/proto/c2se/member_bank_withdraw_pb.js @@ -11,35 +11,113 @@ /* 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_withdraw_pb = require('../models/member_bank_withdraw_pb.js'); +var models_member_bank_withdraw_pb = require("../models/member_bank_withdraw_pb.js"); goog.object.extend(proto, models_member_bank_withdraw_pb); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result', null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -50,16 +128,21 @@ goog.exportSymbol('proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankW * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest'; + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest"; } /** * Generated by JsPbCodeGenerator. @@ -71,16 +154,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse'; + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse"; } /** * Generated by JsPbCodeGenerator. @@ -92,16 +180,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result'; + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -113,16 +207,29 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest + .repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest'; + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest"; } /** * Generated by JsPbCodeGenerator. @@ -134,16 +241,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest + .Search, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search'; + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search"; } /** * Generated by JsPbCodeGenerator. @@ -155,16 +268,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse'; + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse"; } /** * Generated by JsPbCodeGenerator. @@ -176,16 +294,30 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_bank_withdraw + .ListMemberBankWithdrawsResponse.Result.repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result'; + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -197,16 +329,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest'; + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest"; } /** * Generated by JsPbCodeGenerator. @@ -218,16 +355,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse'; + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse"; } /** * Generated by JsPbCodeGenerator. @@ -239,16 +381,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result'; + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -260,16 +408,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest'; + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest"; } /** * Generated by JsPbCodeGenerator. @@ -281,16 +434,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse'; + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse"; } /** * Generated by JsPbCodeGenerator. @@ -302,16 +460,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result'; + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -323,16 +487,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw + .UpdateMemberBankWithdrawForStateRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest'; + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest"; } /** * Generated by JsPbCodeGenerator. @@ -344,16 +514,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw + .UpdateMemberBankWithdrawForStateResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse'; + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse"; } /** * Generated by JsPbCodeGenerator. @@ -365,16 +541,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw + .UpdateMemberBankWithdrawForStateResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result'; + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -386,16 +568,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest'; + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest"; } /** * Generated by JsPbCodeGenerator. @@ -407,16 +594,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse'; + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse"; } /** * Generated by JsPbCodeGenerator. @@ -428,76 +620,88 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result, jspb.Message); +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse + .Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result'; + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.displayName = + "proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.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_withdraw.CreateMemberBankWithdrawRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.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_withdraw.CreateMemberBankWithdrawRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + bankName: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), + amount: jspb.Message.getFieldWithDefault(msg, 4, 0), + password: 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_withdraw.CreateMemberBankWithdrawRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.toObject = function(includeInstance, msg) { - var f, obj = { - bankName: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), - amount: jspb.Message.getFieldWithDefault(msg, 4, 0), - password: jspb.Message.getFieldWithDefault(msg, 5, ""), - memo: jspb.Message.getFieldWithDefault(msg, 6, "") - }; - - 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_withdraw.CreateMemberBankWithdrawRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest; - return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest(); + return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -506,56 +710,59 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.dese * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.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.setBankName(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 {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setPassword(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.setBankName(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 {number} */ (reader.readUint32()); - msg.setAmount(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setPassword(value); - break; - case 6: - 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_withdraw.CreateMemberBankWithdrawRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -564,234 +771,238 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getBankName(); - 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.getAmount(); - if (f !== 0) { - writer.writeUint32( - 4, - f - ); - } - f = message.getPassword(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getBankName(); + 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.getAmount(); + if (f !== 0) { + writer.writeUint32(4, f); + } + f = message.getPassword(); + 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 bank_name = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getBankName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getBankName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setBankName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setBankName = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string name = 2; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional string account_number = 3; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getAccountNumber = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setAccountNumber = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional uint32 amount = 4; * @return {number} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getAmount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setAmount = function(value) { - return jspb.Message.setProto3IntField(this, 4, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setAmount = + function (value) { + return jspb.Message.setProto3IntField(this, 4, value); + }; /** * optional string password = 5; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getPassword = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getPassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setPassword = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; /** * optional string memo = 6; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setMemo = function(value) { - return jspb.Message.setField(this, 6, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 6, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 6, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 6, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.prototype.hasMemo = function() { - return jspb.Message.getField(this, 6) != 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_withdraw.CreateMemberBankWithdrawResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawRequest.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_withdraw.CreateMemberBankWithdrawResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse; - return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse(); + return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -800,42 +1011,54 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.des * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_withdraw + .CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -844,81 +1067,88 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.pro * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankWithdraw: (f = msg.getMemberBankWithdraw()) && models_member_bank_withdraw_pb.MemberBankWithdraw.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw + .CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankWithdraw: + (f = msg.getMemberBankWithdraw()) && + models_member_bank_withdraw_pb.MemberBankWithdrawModel.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_withdraw.CreateMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result; - return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result(); + return proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -927,37 +1157,45 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Res * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw_pb.MemberBankWithdrawModel(); + reader.readMessage( + value, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .deserializeBinaryFromReader + ); + msg.setMemberBankWithdraw(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_withdraw_pb.MemberBankWithdraw; - reader.readMessage(value,models_member_bank_withdraw_pb.MemberBankWithdraw.deserializeBinaryFromReader); - msg.setMemberBankWithdraw(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_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -966,194 +1204,223 @@ proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Res * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankWithdraw(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_withdraw_pb.MemberBankWithdraw.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankWithdraw(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .serializeBinaryToWriter + ); + } + }; /** - * optional bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1; - * @return {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} + * optional bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1; + * @return {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.getMemberBankWithdraw = function() { - return /** @type{?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} */ ( - jspb.Message.getWrapperField(this, models_member_bank_withdraw_pb.MemberBankWithdraw, 1)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.getMemberBankWithdraw = + function () { + return /** @type{?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_withdraw_pb.MemberBankWithdrawModel, + 1 + ) + ); + }; /** - * @param {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw|undefined} value + * @param {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.setMemberBankWithdraw = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.setMemberBankWithdraw = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.clearMemberBankWithdraw = function() { - return this.setMemberBankWithdraw(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.clearMemberBankWithdraw = + function () { + return this.setMemberBankWithdraw(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.hasMemberBankWithdraw = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result.prototype.hasMemberBankWithdraw = + 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_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_withdraw + .CreateMemberBankWithdrawResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.CreateMemberBankWithdrawResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.bet.beteran.c2se.member_bank_withdraw.CreateMemberBankWithdrawResponse.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_withdraw.ListMemberBankWithdrawsRequest.repeatedFields_ = [2]; - - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest; - return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest(); + return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1162,47 +1429,61 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.deser * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_withdraw + .ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1211,95 +1492,101 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.proto * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.toObject = function(includeInstance, msg) { - var f, obj = { - memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), - bankNameLike: jspb.Message.getFieldWithDefault(msg, 2, ""), - nameLike: jspb.Message.getFieldWithDefault(msg, 3, ""), - accountNumberLike: jspb.Message.getFieldWithDefault(msg, 4, ""), - amount: jspb.Message.getFieldWithDefault(msg, 5, 0), - memoLike: jspb.Message.getFieldWithDefault(msg, 6, ""), - state: jspb.Message.getFieldWithDefault(msg, 7, 0) +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw + .ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), + bankNameLike: jspb.Message.getFieldWithDefault(msg, 2, ""), + nameLike: jspb.Message.getFieldWithDefault(msg, 3, ""), + accountNumberLike: jspb.Message.getFieldWithDefault(msg, 4, ""), + amount: jspb.Message.getFieldWithDefault(msg, 5, 0), + memoLike: jspb.Message.getFieldWithDefault(msg, 6, ""), + state: jspb.Message.getFieldWithDefault(msg, 7, 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.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search; - return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search(); + return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1308,60 +1595,66 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Searc * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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.setBankNameLike(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 {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setMemoLike(value); + break; + case 7: + var value = + /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + reader.readEnum() + ); + msg.setState(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.setBankNameLike(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 {number} */ (reader.readUint32()); - msg.setAmount(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setMemoLike(value); - break; - case 7: - var value = /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (reader.readEnum()); - msg.setState(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_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1370,479 +1663,499 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Searc * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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 {number} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeUint32( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } - f = /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeEnum( - 7, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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 {number} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeUint32(5, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString(6, f); + } + f = + /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + jspb.Message.getField(message, 7) + ); + if (f != null) { + writer.writeEnum(7, f); + } + }; /** * optional string member_id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getMemberId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setMemberId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearMemberId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasMemberId = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasMemberId = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional string bank_name_like = 2; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getBankNameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getBankNameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setBankNameLike = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setBankNameLike = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearBankNameLike = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearBankNameLike = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasBankNameLike = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasBankNameLike = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional string name_like = 3; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getNameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getNameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setNameLike = function(value) { - return jspb.Message.setField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearNameLike = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasNameLike = function() { - return jspb.Message.getField(this, 3) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getAccountNumberLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getAccountNumberLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setAccountNumberLike = function(value) { - return jspb.Message.setField(this, 4, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearAccountNumberLike = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasAccountNumberLike = function() { - return jspb.Message.getField(this, 4) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasAccountNumberLike = + function () { + return jspb.Message.getField(this, 4) != null; + }; /** * optional uint32 amount = 5; * @return {number} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getAmount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setAmount = function(value) { - return jspb.Message.setField(this, 5, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setAmount = + function (value) { + return jspb.Message.setField(this, 5, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearAmount = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearAmount = + function () { + return jspb.Message.setField(this, 5, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasAmount = function() { - return jspb.Message.getField(this, 5) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasAmount = + function () { + return jspb.Message.getField(this, 5) != null; + }; /** * optional string memo_like = 6; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getMemoLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getMemoLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setMemoLike = function(value) { - return jspb.Message.setField(this, 6, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setMemoLike = + function (value) { + return jspb.Message.setField(this, 6, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearMemoLike = function() { - return jspb.Message.setField(this, 6, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearMemoLike = + function () { + return jspb.Message.setField(this, 6, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasMemoLike = function() { - return jspb.Message.getField(this, 6) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasMemoLike = + function () { + return jspb.Message.getField(this, 6) != null; + }; /** * optional bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 7; * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + jspb.Message.getFieldWithDefault(this, 7, 0) + ); + }; /** * @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setState = function(value) { - return jspb.Message.setField(this, 7, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.setState = + function (value) { + return jspb.Message.setField(this, 7, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearState = function() { - return jspb.Message.setField(this, 7, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.clearState = + function () { + return jspb.Message.setField(this, 7, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasState = function() { - return jspb.Message.getField(this, 7) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search.prototype.hasState = + function () { + return jspb.Message.getField(this, 7) != null; + }; /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.setPagination = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.clearPagination = function() { - return this.setPagination(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.hasPagination = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.prototype.getSortsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.setSortsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.clearSortsList = function() { - return this.setSortsList([]); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.getSearch = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search, 3)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.getSearch = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_withdraw + .ListMemberBankWithdrawsRequest.Search, + 3 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.setSearch = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.clearSearch = function() { - return this.setSearch(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsRequest.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_withdraw.ListMemberBankWithdrawsResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse; - return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse(); + return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1851,42 +2164,54 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.dese * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_withdraw + .ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1895,89 +2220,95 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.Result.serializeBinaryToWriter - ); - } -}; - - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw + .ListMemberBankWithdrawsResponse.Result.serializeBinaryToWriter + ); + } + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.repeatedFields_ = [1]; - - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankWithdrawsList: jspb.Message.toObjectList( + msg.getMemberBankWithdrawsList(), + models_member_bank_withdraw_pb.MemberBankWithdrawModel.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_withdraw.ListMemberBankWithdrawsResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankWithdrawsList: jspb.Message.toObjectList(msg.getMemberBankWithdrawsList(), - models_member_bank_withdraw_pb.MemberBankWithdraw.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_withdraw.ListMemberBankWithdrawsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result; - return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result(); + return proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1986,37 +2317,45 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Resu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw_pb.MemberBankWithdrawModel(); + reader.readMessage( + value, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .deserializeBinaryFromReader + ); + msg.addMemberBankWithdraws(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_withdraw_pb.MemberBankWithdraw; - reader.readMessage(value,models_member_bank_withdraw_pb.MemberBankWithdraw.deserializeBinaryFromReader); - msg.addMemberBankWithdraws(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_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2025,185 +2364,209 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Resu * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankWithdrawsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - models_member_bank_withdraw_pb.MemberBankWithdraw.serializeBinaryToWriter +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankWithdrawsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .serializeBinaryToWriter + ); + } + }; + +/** + * repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 1; + * @return {!Array} + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.getMemberBankWithdrawsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField( + this, + models_member_bank_withdraw_pb.MemberBankWithdrawModel, + 1 + ) ); - } -}; - + }; /** - * repeated bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraws = 1; - * @return {!Array} - */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.getMemberBankWithdrawsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_member_bank_withdraw_pb.MemberBankWithdraw, 1)); -}; - - -/** - * @param {!Array} value + * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.setMemberBankWithdrawsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.setMemberBankWithdrawsList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); + }; /** - * @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw=} opt_value + * @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel=} opt_value * @param {number=} opt_index - * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.addMemberBankWithdraws = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw, opt_index); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.addMemberBankWithdraws = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 1, + opt_value, + proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.clearMemberBankWithdrawsList = function() { - return this.setMemberBankWithdrawsList([]); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.clearMemberBankWithdrawsList = + function () { + return this.setMemberBankWithdrawsList([]); + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_withdraw + .ListMemberBankWithdrawsResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.ListMemberBankWithdrawsResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.GetMemberBankWithdrawRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.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_withdraw.GetMemberBankWithdrawRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.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_withdraw.GetMemberBankWithdrawRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.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_withdraw.GetMemberBankWithdrawRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.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_withdraw.GetMemberBankWithdrawRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest; - return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest(); + return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2212,36 +2575,39 @@ proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.deseria * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.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_withdraw.GetMemberBankWithdrawRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2250,91 +2616,102 @@ proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.prototy * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.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_withdraw.GetMemberBankWithdrawRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.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_withdraw.GetMemberBankWithdrawResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawRequest.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_withdraw.GetMemberBankWithdrawResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse; - return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse(); + return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2343,42 +2720,53 @@ proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.deseri * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_withdraw + .GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2387,81 +2775,88 @@ proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.protot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankWithdraw: (f = msg.getMemberBankWithdraw()) && models_member_bank_withdraw_pb.MemberBankWithdraw.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw + .GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankWithdraw: + (f = msg.getMemberBankWithdraw()) && + models_member_bank_withdraw_pb.MemberBankWithdrawModel.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_withdraw.GetMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result; - return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result(); + return proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2470,37 +2865,45 @@ proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw_pb.MemberBankWithdrawModel(); + reader.readMessage( + value, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .deserializeBinaryFromReader + ); + msg.setMemberBankWithdraw(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_withdraw_pb.MemberBankWithdraw; - reader.readMessage(value,models_member_bank_withdraw_pb.MemberBankWithdraw.deserializeBinaryFromReader); - msg.setMemberBankWithdraw(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_withdraw.GetMemberBankWithdrawResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2509,190 +2912,208 @@ proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankWithdraw(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_withdraw_pb.MemberBankWithdraw.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankWithdraw(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .serializeBinaryToWriter + ); + } + }; /** - * optional bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1; - * @return {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} + * optional bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1; + * @return {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.getMemberBankWithdraw = function() { - return /** @type{?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} */ ( - jspb.Message.getWrapperField(this, models_member_bank_withdraw_pb.MemberBankWithdraw, 1)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.getMemberBankWithdraw = + function () { + return /** @type{?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_withdraw_pb.MemberBankWithdrawModel, + 1 + ) + ); + }; /** - * @param {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw|undefined} value + * @param {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.setMemberBankWithdraw = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.setMemberBankWithdraw = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.clearMemberBankWithdraw = function() { - return this.setMemberBankWithdraw(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.clearMemberBankWithdraw = + function () { + return this.setMemberBankWithdraw(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.hasMemberBankWithdraw = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result.prototype.hasMemberBankWithdraw = + 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_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_withdraw + .GetMemberBankWithdrawResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.GetMemberBankWithdrawResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.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_withdraw.UpdateMemberBankWithdrawRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - bankName: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), - amount: jspb.Message.getFieldWithDefault(msg, 5, 0), - password: jspb.Message.getFieldWithDefault(msg, 6, ""), - memo: jspb.Message.getFieldWithDefault(msg, 7, "") +proto.bet.beteran.c2se.member_bank_withdraw.GetMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.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_withdraw.UpdateMemberBankWithdrawRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + bankName: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""), + amount: jspb.Message.getFieldWithDefault(msg, 5, 0), + password: jspb.Message.getFieldWithDefault(msg, 6, ""), + memo: jspb.Message.getFieldWithDefault(msg, 7, ""), + }; + + 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_withdraw.UpdateMemberBankWithdrawRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest; - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest(); + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2701,60 +3122,63 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.dese * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.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.setBankName(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 {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPassword(value); + break; + case 7: + 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.setBankName(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 {number} */ (reader.readUint32()); - msg.setAmount(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setPassword(value); - break; - case 7: - 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_withdraw.UpdateMemberBankWithdrawRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2763,259 +3187,262 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getBankName(); - 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.getAmount(); - if (f !== 0) { - writer.writeUint32( - 5, - f - ); - } - f = message.getPassword(); - if (f.length > 0) { - writer.writeString( - 6, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeString( - 7, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getBankName(); + 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.getAmount(); + if (f !== 0) { + writer.writeUint32(5, f); + } + f = message.getPassword(); + if (f.length > 0) { + writer.writeString(6, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString(7, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string bank_name = 2; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getBankName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getBankName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setBankName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setBankName = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional string name = 3; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional string account_number = 4; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAccountNumber = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setAccountNumber = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); + }; /** * optional uint32 amount = 5; * @return {number} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAmount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setAmount = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setAmount = + function (value) { + return jspb.Message.setProto3IntField(this, 5, value); + }; /** * optional string password = 6; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getPassword = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getPassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 6, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setPassword = + function (value) { + return jspb.Message.setProto3StringField(this, 6, value); + }; /** * optional string memo = 7; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 7, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setMemo = function(value) { - return jspb.Message.setField(this, 7, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 7, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 7, undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 7, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.hasMemo = function() { - return jspb.Message.getField(this, 7) != 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_withdraw.UpdateMemberBankWithdrawResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawRequest.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 7) != 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_withdraw.UpdateMemberBankWithdrawResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse; - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse(); + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3024,42 +3451,54 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.des * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_withdraw + .UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3068,81 +3507,88 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.pro * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankWithdraw: (f = msg.getMemberBankWithdraw()) && models_member_bank_withdraw_pb.MemberBankWithdraw.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw + .UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankWithdraw: + (f = msg.getMemberBankWithdraw()) && + models_member_bank_withdraw_pb.MemberBankWithdrawModel.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_withdraw.UpdateMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result; - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result(); + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3151,37 +3597,45 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Res * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw_pb.MemberBankWithdrawModel(); + reader.readMessage( + value, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .deserializeBinaryFromReader + ); + msg.setMemberBankWithdraw(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_withdraw_pb.MemberBankWithdraw; - reader.readMessage(value,models_member_bank_withdraw_pb.MemberBankWithdraw.deserializeBinaryFromReader); - msg.setMemberBankWithdraw(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_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3190,185 +3644,203 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Res * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankWithdraw(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_withdraw_pb.MemberBankWithdraw.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankWithdraw(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .serializeBinaryToWriter + ); + } + }; /** - * optional bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1; - * @return {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} + * optional bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1; + * @return {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.getMemberBankWithdraw = function() { - return /** @type{?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} */ ( - jspb.Message.getWrapperField(this, models_member_bank_withdraw_pb.MemberBankWithdraw, 1)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.getMemberBankWithdraw = + function () { + return /** @type{?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_withdraw_pb.MemberBankWithdrawModel, + 1 + ) + ); + }; /** - * @param {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw|undefined} value + * @param {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.setMemberBankWithdraw = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.setMemberBankWithdraw = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.clearMemberBankWithdraw = function() { - return this.setMemberBankWithdraw(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.clearMemberBankWithdraw = + function () { + return this.setMemberBankWithdraw(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.hasMemberBankWithdraw = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result.prototype.hasMemberBankWithdraw = + 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_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_withdraw + .UpdateMemberBankWithdrawResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.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_withdraw.UpdateMemberBankWithdrawForStateRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - state: jspb.Message.getFieldWithDefault(msg, 2, 0) +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawResponse.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_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.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_withdraw.UpdateMemberBankWithdrawForStateRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + state: jspb.Message.getFieldWithDefault(msg, 2, 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.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest; - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest(); + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3377,40 +3849,46 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequ * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.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 {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + reader.readEnum() + ); + msg.setState(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 {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (reader.readEnum()); - msg.setState(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_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3419,116 +3897,126 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequ * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getState(); - if (f !== 0.0) { - writer.writeEnum( - 2, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum(2, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional bet.beteran.member_bank_withdraw.MemberBankWithdrawState state = 2; * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + jspb.Message.getFieldWithDefault(this, 2, 0) + ); + }; /** * @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.setState = function(value) { - return jspb.Message.setProto3EnumField(this, 2, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateRequest.prototype.setState = + function (value) { + return jspb.Message.setProto3EnumField(this, 2, 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_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse; - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse(); + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3537,42 +4025,54 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResp * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_withdraw + .UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3581,81 +4081,89 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResp * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberBankWithdraw: (f = msg.getMemberBankWithdraw()) && models_member_bank_withdraw_pb.MemberBankWithdraw.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw + .UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberBankWithdraw: + (f = msg.getMemberBankWithdraw()) && + models_member_bank_withdraw_pb.MemberBankWithdrawModel.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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result; - return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result(); + return proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3664,37 +4172,45 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResp * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw_pb.MemberBankWithdrawModel(); + reader.readMessage( + value, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .deserializeBinaryFromReader + ); + msg.setMemberBankWithdraw(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_bank_withdraw_pb.MemberBankWithdraw; - reader.readMessage(value,models_member_bank_withdraw_pb.MemberBankWithdraw.deserializeBinaryFromReader); - msg.setMemberBankWithdraw(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_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3703,184 +4219,202 @@ proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResp * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberBankWithdraw(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_bank_withdraw_pb.MemberBankWithdraw.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberBankWithdraw(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_bank_withdraw_pb.MemberBankWithdrawModel + .serializeBinaryToWriter + ); + } + }; /** - * optional bet.beteran.member_bank_withdraw.MemberBankWithdraw member_bank_withdraw = 1; - * @return {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} + * optional bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraw = 1; + * @return {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.getMemberBankWithdraw = function() { - return /** @type{?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} */ ( - jspb.Message.getWrapperField(this, models_member_bank_withdraw_pb.MemberBankWithdraw, 1)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.getMemberBankWithdraw = + function () { + return /** @type{?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} */ ( + jspb.Message.getWrapperField( + this, + models_member_bank_withdraw_pb.MemberBankWithdrawModel, + 1 + ) + ); + }; /** - * @param {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw|undefined} value + * @param {?proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.setMemberBankWithdraw = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.setMemberBankWithdraw = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.clearMemberBankWithdraw = function() { - return this.setMemberBankWithdraw(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.clearMemberBankWithdraw = + function () { + return this.setMemberBankWithdraw(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.hasMemberBankWithdraw = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result.prototype.hasMemberBankWithdraw = + 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_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_withdraw + .UpdateMemberBankWithdrawForStateResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.UpdateMemberBankWithdrawForStateResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.DeleteMemberBankWithdrawRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.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_withdraw.DeleteMemberBankWithdrawRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_bank_withdraw.UpdateMemberBankWithdrawForStateResponse.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_withdraw.DeleteMemberBankWithdrawRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.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_withdraw.DeleteMemberBankWithdrawRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.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_withdraw.DeleteMemberBankWithdrawRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest; - return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest(); + return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3889,36 +4423,39 @@ proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.dese * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.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_withdraw.DeleteMemberBankWithdrawRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3927,91 +4464,102 @@ proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.prot * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.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_withdraw.DeleteMemberBankWithdrawRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.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_withdraw.DeleteMemberBankWithdrawResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawRequest.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_withdraw.DeleteMemberBankWithdrawResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse; - return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse(); + return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -4020,42 +4568,54 @@ proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.des * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_bank_withdraw + .DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -4064,81 +4624,81 @@ proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.pro * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw + .DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result; - return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result(); + return proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -4147,32 +4707,35 @@ proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Res * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -4181,83 +4744,90 @@ proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Res * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_bank_withdraw + .DeleteMemberBankWithdrawResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse} returns this -*/ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.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_withdraw.DeleteMemberBankWithdrawResponse} returns this */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_bank_withdraw.DeleteMemberBankWithdrawResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; goog.object.extend(exports, proto.bet.beteran.c2se.member_bank_withdraw); diff --git a/src/app/modules/proto/models/member_bank_deposit_pb.d.ts b/src/app/modules/proto/models/member_bank_deposit_pb.d.ts index f4c0547..514590b 100644 --- a/src/app/modules/proto/models/member_bank_deposit_pb.d.ts +++ b/src/app/modules/proto/models/member_bank_deposit_pb.d.ts @@ -1,7 +1,8 @@ // package: bet.beteran.member_bank_deposit // file: models/member_bank_deposit.proto -import * as jspb from "google-protobuf"; +import * as jspb from 'google-protobuf'; +import * as models_member_pb from '../models/member_pb'; export class MemberBankDeposit extends jspb.Message { getId(): string; @@ -22,7 +23,9 @@ export class MemberBankDeposit extends jspb.Message { setMemo(value: string): void; getState(): MemberBankDepositStateMap[keyof MemberBankDepositStateMap]; - setState(value: MemberBankDepositStateMap[keyof MemberBankDepositStateMap]): void; + setState( + value: MemberBankDepositStateMap[keyof MemberBankDepositStateMap] + ): void; getStateChangedAt(): number; setStateChangedAt(value: number): void; @@ -35,33 +38,113 @@ export class MemberBankDeposit extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): MemberBankDeposit.AsObject; - static toObject(includeInstance: boolean, msg: MemberBankDeposit): MemberBankDeposit.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: MemberBankDeposit, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: MemberBankDeposit + ): MemberBankDeposit.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberBankDeposit, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): MemberBankDeposit; - static deserializeBinaryFromReader(message: MemberBankDeposit, reader: jspb.BinaryReader): MemberBankDeposit; + static deserializeBinaryFromReader( + message: MemberBankDeposit, + reader: jspb.BinaryReader + ): MemberBankDeposit; } export namespace MemberBankDeposit { export type AsObject = { - id: string, - memberId: string, - name: string, - amount: number, - memo: string, - state: MemberBankDepositStateMap[keyof MemberBankDepositStateMap], - stateChangedAt: number, - createdAt: number, - updatedAt: number, - } + id: string; + memberId: string; + name: string; + amount: number; + memo: string; + state: MemberBankDepositStateMap[keyof MemberBankDepositStateMap]; + stateChangedAt: number; + createdAt: number; + updatedAt: number; + }; +} + +export class MemberBankDepositModel extends jspb.Message { + getId(): string; + setId(value: string): void; + + hasMember(): boolean; + clearMember(): void; + getMember(): models_member_pb.Member | undefined; + setMember(value?: models_member_pb.Member): void; + + getName(): string; + setName(value: string): void; + + getAmount(): number; + setAmount(value: number): void; + + hasMemo(): boolean; + clearMemo(): void; + getMemo(): string; + setMemo(value: string): void; + + getState(): MemberBankDepositStateMap[keyof MemberBankDepositStateMap]; + setState( + value: MemberBankDepositStateMap[keyof MemberBankDepositStateMap] + ): void; + + getStateChangedAt(): number; + setStateChangedAt(value: number): void; + + getCreatedAt(): number; + setCreatedAt(value: number): void; + + getUpdatedAt(): number; + setUpdatedAt(value: number): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemberBankDepositModel.AsObject; + static toObject( + includeInstance: boolean, + msg: MemberBankDepositModel + ): MemberBankDepositModel.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberBankDepositModel, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): MemberBankDepositModel; + static deserializeBinaryFromReader( + message: MemberBankDepositModel, + reader: jspb.BinaryReader + ): MemberBankDepositModel; +} + +export namespace MemberBankDepositModel { + export type AsObject = { + id: string; + member?: models_member_pb.Member.AsObject; + name: string; + amount: number; + memo: string; + state: MemberBankDepositStateMap[keyof MemberBankDepositStateMap]; + stateChangedAt: number; + createdAt: number; + updatedAt: number; + }; } export interface MemberBankDepositStateMap { NONE: 0; APPLICATION: 1; - COMPLETE: 2; + PENDING: 2; + COMPLETE: 3; } export const MemberBankDepositState: MemberBankDepositStateMap; - diff --git a/src/app/modules/proto/models/member_bank_deposit_pb.js b/src/app/modules/proto/models/member_bank_deposit_pb.js index 2036f44..1ea3b68 100644 --- a/src/app/modules/proto/models/member_bank_deposit_pb.js +++ b/src/app/modules/proto/models/member_bank_deposit_pb.js @@ -11,12 +11,29 @@ /* 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_deposit.MemberBankDeposit', null, global); -goog.exportSymbol('proto.bet.beteran.member_bank_deposit.MemberBankDepositState', null, global); +var models_member_pb = require("../models/member_pb.js"); +goog.object.extend(proto, models_member_pb); +goog.exportSymbol( + "proto.bet.beteran.member_bank_deposit.MemberBankDeposit", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.member_bank_deposit.MemberBankDepositModel", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.member_bank_deposit.MemberBankDepositState", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -27,79 +44,117 @@ goog.exportSymbol('proto.bet.beteran.member_bank_deposit.MemberBankDepositState' * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit = function(opt_data) { +proto.bet.beteran.member_bank_deposit.MemberBankDeposit = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.member_bank_deposit.MemberBankDeposit, jspb.Message); +goog.inherits( + proto.bet.beteran.member_bank_deposit.MemberBankDeposit, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.member_bank_deposit.MemberBankDeposit.displayName = 'proto.bet.beteran.member_bank_deposit.MemberBankDeposit'; + proto.bet.beteran.member_bank_deposit.MemberBankDeposit.displayName = + "proto.bet.beteran.member_bank_deposit.MemberBankDeposit"; +} +/** + * 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_deposit.MemberBankDepositModel = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.member_bank_deposit.MemberBankDepositModel, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.displayName = + "proto.bet.beteran.member_bank_deposit.MemberBankDepositModel"; } - - 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_deposit.MemberBankDeposit.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.member_bank_deposit.MemberBankDeposit.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_deposit.MemberBankDeposit.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.member_bank_deposit.MemberBankDeposit.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_deposit.MemberBankDeposit} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member_bank_deposit.MemberBankDeposit.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + amount: jspb.Message.getFieldWithDefault(msg, 4, 0), + memo: jspb.Message.getFieldWithDefault(msg, 5, ""), + state: jspb.Message.getFieldWithDefault(msg, 6, 0), + stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0), + 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_deposit.MemberBankDeposit} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - amount: jspb.Message.getFieldWithDefault(msg, 4, 0), - memo: jspb.Message.getFieldWithDefault(msg, 5, ""), - state: jspb.Message.getFieldWithDefault(msg, 6, 0), - stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0), - createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0), - updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 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_deposit.MemberBankDeposit} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.member_bank_deposit.MemberBankDeposit; - return proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.member_bank_deposit.MemberBankDeposit(); + return proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -108,68 +163,74 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinary = func * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.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.setName(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 6: + var value = + /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + reader.readEnum() + ); + msg.setState(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStateChangedAt(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.setName(value); - break; - case 4: - var value = /** @type {number} */ (reader.readUint32()); - msg.setAmount(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - case 6: - var value = /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (reader.readEnum()); - msg.setState(value); - break; - case 7: - var value = /** @type {number} */ (reader.readUint64()); - msg.setStateChangedAt(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; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.member_bank_deposit.MemberBankDeposit.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.member_bank_deposit.MemberBankDeposit.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -178,253 +239,646 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.serializeBinar * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.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.getName(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getAmount(); - if (f !== 0) { - writer.writeUint32( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } - f = message.getState(); - if (f !== 0.0) { - writer.writeEnum( - 6, - f - ); - } - f = message.getStateChangedAt(); - if (f !== 0) { - writer.writeUint64( - 7, - f - ); - } - f = message.getCreatedAt(); - if (f !== 0) { - writer.writeUint64( - 8, - f - ); - } - f = message.getUpdatedAt(); - if (f !== 0) { - writer.writeUint64( - 9, - f - ); - } -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.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.getName(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = message.getAmount(); + if (f !== 0) { + writer.writeUint32(4, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString(5, f); + } + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum(6, f); + } + f = message.getStateChangedAt(); + if (f !== 0) { + writer.writeUint64(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_deposit.MemberBankDeposit.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string member_id = 2; * @return {string} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getMemberId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setMemberId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setMemberId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional string name = 3; * @return {string} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional uint32 amount = 4; * @return {number} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getAmount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setAmount = function(value) { - return jspb.Message.setProto3IntField(this, 4, value); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setAmount = + function (value) { + return jspb.Message.setProto3IntField(this, 4, value); + }; /** * optional string memo = 5; * @return {string} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setMemo = function(value) { - return jspb.Message.setField(this, 5, value); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 5, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.clearMemo = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 5, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.hasMemo = function() { - return jspb.Message.getField(this, 5) != null; -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 5) != null; + }; /** * optional MemberBankDepositState state = 6; * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + jspb.Message.getFieldWithDefault(this, 6, 0) + ); + }; /** * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setState = function(value) { - return jspb.Message.setProto3EnumField(this, 6, value); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setState = + function (value) { + return jspb.Message.setProto3EnumField(this, 6, value); + }; /** * optional uint64 state_changed_at = 7; * @return {number} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getStateChangedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getStateChangedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setStateChangedAt = function(value) { - return jspb.Message.setProto3IntField(this, 7, value); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setStateChangedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 7, value); + }; /** * optional uint64 created_at = 8; * @return {number} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getCreatedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getCreatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setCreatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 8, value); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setCreatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 8, value); + }; /** * optional uint64 updated_at = 9; * @return {number} */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getUpdatedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); -}; - +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.getUpdatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} returns this */ -proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setUpdatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 9, value); -}; +proto.bet.beteran.member_bank_deposit.MemberBankDeposit.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_deposit.MemberBankDepositModel.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.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_deposit.MemberBankDepositModel} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + member: + (f = msg.getMember()) && + models_member_pb.Member.toObject(includeInstance, f), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + amount: jspb.Message.getFieldWithDefault(msg, 4, 0), + memo: jspb.Message.getFieldWithDefault(msg, 5, ""), + state: jspb.Message.getFieldWithDefault(msg, 6, 0), + stateChangedAt: jspb.Message.getFieldWithDefault(msg, 7, 0), + 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_deposit.MemberBankDepositModel} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.member_bank_deposit.MemberBankDepositModel(); + return proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.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_deposit.MemberBankDepositModel} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.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_member_pb.Member(); + reader.readMessage( + value, + models_member_pb.Member.deserializeBinaryFromReader + ); + msg.setMember(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 6: + var value = + /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + reader.readEnum() + ); + msg.setState(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStateChangedAt(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_deposit.MemberBankDepositModel.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.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_deposit.MemberBankDepositModel} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getMember(); + if (f != null) { + writer.writeMessage( + 2, + f, + models_member_pb.Member.serializeBinaryToWriter + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = message.getAmount(); + if (f !== 0) { + writer.writeUint32(4, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString(5, f); + } + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum(6, f); + } + f = message.getStateChangedAt(); + if (f !== 0) { + writer.writeUint64(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_deposit.MemberBankDepositModel.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional bet.beteran.member.Member member = 2; + * @return {?proto.bet.beteran.member.Member} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getMember = + function () { + return /** @type{?proto.bet.beteran.member.Member} */ ( + jspb.Message.getWrapperField(this, models_member_pb.Member, 2) + ); + }; + +/** + * @param {?proto.bet.beteran.member.Member|undefined} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setMember = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.clearMember = + function () { + return this.setMember(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.hasMember = + function () { + return jspb.Message.getField(this, 2) != null; + }; + +/** + * optional string name = 3; + * @return {string} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; + +/** + * optional uint32 amount = 4; + * @return {number} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setAmount = + function (value) { + return jspb.Message.setProto3IntField(this, 4, value); + }; + +/** + * optional string memo = 5; + * @return {string} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 5, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 5, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 5) != null; + }; + +/** + * optional MemberBankDepositState state = 6; + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ ( + jspb.Message.getFieldWithDefault(this, 6, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setState = + function (value) { + return jspb.Message.setProto3EnumField(this, 6, value); + }; + +/** + * optional uint64 state_changed_at = 7; + * @return {number} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getStateChangedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setStateChangedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 7, value); + }; + +/** + * optional uint64 created_at = 8; + * @return {number} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getCreatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setCreatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 8, value); + }; + +/** + * optional uint64 updated_at = 9; + * @return {number} + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.getUpdatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositModel} returns this + */ +proto.bet.beteran.member_bank_deposit.MemberBankDepositModel.prototype.setUpdatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 9, value); + }; /** * @enum {number} @@ -432,7 +886,8 @@ proto.bet.beteran.member_bank_deposit.MemberBankDeposit.prototype.setUpdatedAt = proto.bet.beteran.member_bank_deposit.MemberBankDepositState = { NONE: 0, APPLICATION: 1, - COMPLETE: 2 + PENDING: 2, + COMPLETE: 3, }; goog.object.extend(exports, proto.bet.beteran.member_bank_deposit); diff --git a/src/app/modules/proto/models/member_bank_withdraw_pb.d.ts b/src/app/modules/proto/models/member_bank_withdraw_pb.d.ts index 3787d43..3696dc8 100644 --- a/src/app/modules/proto/models/member_bank_withdraw_pb.d.ts +++ b/src/app/modules/proto/models/member_bank_withdraw_pb.d.ts @@ -1,7 +1,8 @@ // package: bet.beteran.member_bank_withdraw // file: models/member_bank_withdraw.proto -import * as jspb from "google-protobuf"; +import * as jspb from 'google-protobuf'; +import * as models_member_pb from '../models/member_pb'; export class MemberBankWithdraw extends jspb.Message { getId(): string; @@ -31,7 +32,9 @@ export class MemberBankWithdraw extends jspb.Message { setMemo(value: string): void; getState(): MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap]; - setState(value: MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap]): void; + setState( + value: MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap] + ): void; getStateChangedAt(): number; setStateChangedAt(value: number): void; @@ -44,36 +47,128 @@ export class MemberBankWithdraw extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): MemberBankWithdraw.AsObject; - static toObject(includeInstance: boolean, msg: MemberBankWithdraw): MemberBankWithdraw.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: MemberBankWithdraw, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: MemberBankWithdraw + ): MemberBankWithdraw.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberBankWithdraw, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): MemberBankWithdraw; - static deserializeBinaryFromReader(message: MemberBankWithdraw, reader: jspb.BinaryReader): MemberBankWithdraw; + static deserializeBinaryFromReader( + message: MemberBankWithdraw, + reader: jspb.BinaryReader + ): MemberBankWithdraw; } export namespace MemberBankWithdraw { export type AsObject = { - id: string, - memberId: string, - bankName: string, - name: string, - accountNumber: string, - amount: number, - password: string, - memo: string, - state: MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap], - stateChangedAt: number, - createdAt: number, - updatedAt: number, - } + id: string; + memberId: string; + bankName: string; + name: string; + accountNumber: string; + amount: number; + password: string; + memo: string; + state: MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap]; + stateChangedAt: number; + createdAt: number; + updatedAt: number; + }; +} + +export class MemberBankWithdrawModel extends jspb.Message { + getId(): string; + setId(value: string): void; + + hasMember(): boolean; + clearMember(): void; + getMember(): models_member_pb.Member | undefined; + setMember(value?: models_member_pb.Member): void; + + getBankName(): string; + setBankName(value: string): void; + + getName(): string; + setName(value: string): void; + + getAccountNumber(): string; + setAccountNumber(value: string): void; + + getAmount(): number; + setAmount(value: number): void; + + getPassword(): string; + setPassword(value: string): void; + + hasMemo(): boolean; + clearMemo(): void; + getMemo(): string; + setMemo(value: string): void; + + getState(): MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap]; + setState( + value: MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap] + ): void; + + getStateChangedAt(): number; + setStateChangedAt(value: number): void; + + getCreatedAt(): number; + setCreatedAt(value: number): void; + + getUpdatedAt(): number; + setUpdatedAt(value: number): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemberBankWithdrawModel.AsObject; + static toObject( + includeInstance: boolean, + msg: MemberBankWithdrawModel + ): MemberBankWithdrawModel.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberBankWithdrawModel, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): MemberBankWithdrawModel; + static deserializeBinaryFromReader( + message: MemberBankWithdrawModel, + reader: jspb.BinaryReader + ): MemberBankWithdrawModel; +} + +export namespace MemberBankWithdrawModel { + export type AsObject = { + id: string; + member?: models_member_pb.Member.AsObject; + bankName: string; + name: string; + accountNumber: string; + amount: number; + password: string; + memo: string; + state: MemberBankWithdrawStateMap[keyof MemberBankWithdrawStateMap]; + stateChangedAt: number; + createdAt: number; + updatedAt: number; + }; } export interface MemberBankWithdrawStateMap { NONE: 0; APPLICATION: 1; - COMPLETE: 2; + PENDING: 2; + COMPLETE: 3; } export const MemberBankWithdrawState: MemberBankWithdrawStateMap; - diff --git a/src/app/modules/proto/models/member_bank_withdraw_pb.js b/src/app/modules/proto/models/member_bank_withdraw_pb.js index c1fc948..713fb59 100644 --- a/src/app/modules/proto/models/member_bank_withdraw_pb.js +++ b/src/app/modules/proto/models/member_bank_withdraw_pb.js @@ -11,12 +11,29 @@ /* 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_withdraw.MemberBankWithdraw', null, global); -goog.exportSymbol('proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState', null, global); +var models_member_pb = require("../models/member_pb.js"); +goog.object.extend(proto, models_member_pb); +goog.exportSymbol( + "proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -27,82 +44,120 @@ goog.exportSymbol('proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawStat * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw = function(opt_data) { +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw, jspb.Message); +goog.inherits( + proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.displayName = 'proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw'; + proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.displayName = + "proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw"; +} +/** + * 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_withdraw.MemberBankWithdrawModel = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.displayName = + "proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel"; } - - 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_withdraw.MemberBankWithdraw.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.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_withdraw.MemberBankWithdraw.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.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_withdraw.MemberBankWithdraw} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), + bankName: jspb.Message.getFieldWithDefault(msg, 3, ""), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), + amount: jspb.Message.getFieldWithDefault(msg, 6, 0), + password: jspb.Message.getFieldWithDefault(msg, 7, ""), + memo: jspb.Message.getFieldWithDefault(msg, 8, ""), + state: jspb.Message.getFieldWithDefault(msg, 9, 0), + stateChangedAt: jspb.Message.getFieldWithDefault(msg, 10, 0), + createdAt: jspb.Message.getFieldWithDefault(msg, 11, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 12, 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_withdraw.MemberBankWithdraw} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), - bankName: jspb.Message.getFieldWithDefault(msg, 3, ""), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), - amount: jspb.Message.getFieldWithDefault(msg, 6, 0), - password: jspb.Message.getFieldWithDefault(msg, 7, ""), - memo: jspb.Message.getFieldWithDefault(msg, 8, ""), - state: jspb.Message.getFieldWithDefault(msg, 9, 0), - stateChangedAt: jspb.Message.getFieldWithDefault(msg, 10, 0), - createdAt: jspb.Message.getFieldWithDefault(msg, 11, 0), - updatedAt: jspb.Message.getFieldWithDefault(msg, 12, 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_withdraw.MemberBankWithdraw} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw; - return proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw(); + return proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -111,80 +166,86 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinary = fu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.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.setBankName(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 {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setPassword(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 9: + var value = + /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + reader.readEnum() + ); + msg.setState(value); + break; + case 10: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStateChangedAt(value); + break; + case 11: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCreatedAt(value); + break; + case 12: + 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.setBankName(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 {number} */ (reader.readUint32()); - msg.setAmount(value); - break; - case 7: - var value = /** @type {string} */ (reader.readString()); - msg.setPassword(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - case 9: - var value = /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (reader.readEnum()); - msg.setState(value); - break; - case 10: - var value = /** @type {number} */ (reader.readUint64()); - msg.setStateChangedAt(value); - break; - case 11: - var value = /** @type {number} */ (reader.readUint64()); - msg.setCreatedAt(value); - break; - case 12: - 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_withdraw.MemberBankWithdraw.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -193,328 +254,817 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.serializeBin * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.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.getBankName(); - 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.getAmount(); - if (f !== 0) { - writer.writeUint32( - 6, - f - ); - } - f = message.getPassword(); - if (f.length > 0) { - writer.writeString( - 7, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 8)); - if (f != null) { - writer.writeString( - 8, - f - ); - } - f = message.getState(); - if (f !== 0.0) { - writer.writeEnum( - 9, - f - ); - } - f = message.getStateChangedAt(); - if (f !== 0) { - writer.writeUint64( - 10, - f - ); - } - f = message.getCreatedAt(); - if (f !== 0) { - writer.writeUint64( - 11, - f - ); - } - f = message.getUpdatedAt(); - if (f !== 0) { - writer.writeUint64( - 12, - f - ); - } -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.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.getBankName(); + 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.getAmount(); + if (f !== 0) { + writer.writeUint32(6, f); + } + f = message.getPassword(); + if (f.length > 0) { + writer.writeString(7, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString(8, f); + } + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum(9, f); + } + f = message.getStateChangedAt(); + if (f !== 0) { + writer.writeUint64(10, f); + } + f = message.getCreatedAt(); + if (f !== 0) { + writer.writeUint64(11, f); + } + f = message.getUpdatedAt(); + if (f !== 0) { + writer.writeUint64(12, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string member_id = 2; * @return {string} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getMemberId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setMemberId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setMemberId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional string bank_name = 3; * @return {string} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getBankName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getBankName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setBankName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setBankName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional string name = 4; * @return {string} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); + }; /** * optional string account_number = 5; * @return {string} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAccountNumber = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAccountNumber = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; /** * optional uint32 amount = 6; * @return {number} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAmount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAmount = function(value) { - return jspb.Message.setProto3IntField(this, 6, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setAmount = + function (value) { + return jspb.Message.setProto3IntField(this, 6, value); + }; /** * optional string password = 7; * @return {string} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getPassword = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getPassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 7, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 7, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setPassword = + function (value) { + return jspb.Message.setProto3StringField(this, 7, value); + }; /** * optional string memo = 8; * @return {string} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getMemo = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 8, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setMemo = function(value) { - return jspb.Message.setField(this, 8, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 8, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.clearMemo = function() { - return jspb.Message.setField(this, 8, undefined); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 8, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.hasMemo = function() { - return jspb.Message.getField(this, 8) != null; -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 8) != null; + }; /** * optional MemberBankWithdrawState state = 9; * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + jspb.Message.getFieldWithDefault(this, 9, 0) + ); + }; /** * @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setState = function(value) { - return jspb.Message.setProto3EnumField(this, 9, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setState = + function (value) { + return jspb.Message.setProto3EnumField(this, 9, value); + }; /** * optional uint64 state_changed_at = 10; * @return {number} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getStateChangedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getStateChangedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 10, 0) + ); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setStateChangedAt = function(value) { - return jspb.Message.setProto3IntField(this, 10, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setStateChangedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 10, value); + }; /** * optional uint64 created_at = 11; * @return {number} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getCreatedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getCreatedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 11, 0) + ); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setCreatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 11, value); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setCreatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 11, value); + }; /** * optional uint64 updated_at = 12; * @return {number} */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getUpdatedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); -}; - +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.getUpdatedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 12, 0) + ); + }; /** * @param {number} value * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw} returns this */ -proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setUpdatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 12, value); -}; +proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setUpdatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 12, 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_withdraw.MemberBankWithdrawModel.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.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_withdraw.MemberBankWithdrawModel} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + member: + (f = msg.getMember()) && + models_member_pb.Member.toObject(includeInstance, f), + bankName: jspb.Message.getFieldWithDefault(msg, 3, ""), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), + amount: jspb.Message.getFieldWithDefault(msg, 6, 0), + password: jspb.Message.getFieldWithDefault(msg, 7, ""), + memo: jspb.Message.getFieldWithDefault(msg, 8, ""), + state: jspb.Message.getFieldWithDefault(msg, 9, 0), + stateChangedAt: jspb.Message.getFieldWithDefault(msg, 10, 0), + createdAt: jspb.Message.getFieldWithDefault(msg, 11, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 12, 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_withdraw.MemberBankWithdrawModel} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel(); + return proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.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_withdraw.MemberBankWithdrawModel} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.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_member_pb.Member(); + reader.readMessage( + value, + models_member_pb.Member.deserializeBinaryFromReader + ); + msg.setMember(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setBankName(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 {number} */ (reader.readUint32()); + msg.setAmount(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setPassword(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 9: + var value = + /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + reader.readEnum() + ); + msg.setState(value); + break; + case 10: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStateChangedAt(value); + break; + case 11: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCreatedAt(value); + break; + case 12: + 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_withdraw.MemberBankWithdrawModel.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.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_withdraw.MemberBankWithdrawModel} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getMember(); + if (f != null) { + writer.writeMessage( + 2, + f, + models_member_pb.Member.serializeBinaryToWriter + ); + } + f = message.getBankName(); + 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.getAmount(); + if (f !== 0) { + writer.writeUint32(6, f); + } + f = message.getPassword(); + if (f.length > 0) { + writer.writeString(7, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString(8, f); + } + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum(9, f); + } + f = message.getStateChangedAt(); + if (f !== 0) { + writer.writeUint64(10, f); + } + f = message.getCreatedAt(); + if (f !== 0) { + writer.writeUint64(11, f); + } + f = message.getUpdatedAt(); + if (f !== 0) { + writer.writeUint64(12, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional bet.beteran.member.Member member = 2; + * @return {?proto.bet.beteran.member.Member} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getMember = + function () { + return /** @type{?proto.bet.beteran.member.Member} */ ( + jspb.Message.getWrapperField(this, models_member_pb.Member, 2) + ); + }; + +/** + * @param {?proto.bet.beteran.member.Member|undefined} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setMember = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.clearMember = + function () { + return this.setMember(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.hasMember = + function () { + return jspb.Message.getField(this, 2) != null; + }; + +/** + * optional string bank_name = 3; + * @return {string} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getBankName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setBankName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; + +/** + * optional string name = 4; + * @return {string} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 4, value); + }; + +/** + * optional string account_number = 5; + * @return {string} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; + +/** + * optional uint32 amount = 6; + * @return {number} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getAmount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setAmount = + function (value) { + return jspb.Message.setProto3IntField(this, 6, value); + }; + +/** + * optional string password = 7; + * @return {string} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getPassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 7, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setPassword = + function (value) { + return jspb.Message.setProto3StringField(this, 7, value); + }; + +/** + * optional string memo = 8; + * @return {string} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getMemo = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 8, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setMemo = + function (value) { + return jspb.Message.setField(this, 8, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 8, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.hasMemo = + function () { + return jspb.Message.getField(this, 8) != null; + }; + +/** + * optional MemberBankWithdrawState state = 9; + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} */ ( + jspb.Message.getFieldWithDefault(this, 9, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setState = + function (value) { + return jspb.Message.setProto3EnumField(this, 9, value); + }; + +/** + * optional uint64 state_changed_at = 10; + * @return {number} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getStateChangedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 10, 0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setStateChangedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 10, value); + }; + +/** + * optional uint64 created_at = 11; + * @return {number} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getCreatedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 11, 0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setCreatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 11, value); + }; + +/** + * optional uint64 updated_at = 12; + * @return {number} + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.getUpdatedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 12, 0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel} returns this + */ +proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel.prototype.setUpdatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 12, value); + }; /** * @enum {number} @@ -522,7 +1072,8 @@ proto.bet.beteran.member_bank_withdraw.MemberBankWithdraw.prototype.setUpdatedAt proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawState = { NONE: 0, APPLICATION: 1, - COMPLETE: 2 + PENDING: 2, + COMPLETE: 3, }; goog.object.extend(exports, proto.bet.beteran.member_bank_withdraw); diff --git a/src/app/modules/proto/models/member_session_pb.d.ts b/src/app/modules/proto/models/member_session_pb.d.ts deleted file mode 100644 index 301fdc0..0000000 --- a/src/app/modules/proto/models/member_session_pb.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -// package: bet.beteran.member_session -// file: models/member_session.proto - -import * as jspb from "google-protobuf"; -import * as models_member_pb from "../models/member_pb"; - -export class MemberSession extends jspb.Message { - getId(): string; - setId(value: string): void; - - hasMember(): boolean; - clearMember(): void; - getMember(): models_member_pb.Member | undefined; - setMember(value?: models_member_pb.Member): void; - - getData(): string; - setData(value: string): void; - - getLastAccessedAt(): number; - setLastAccessedAt(value: number): void; - - getExpiresAt(): number; - setExpiresAt(value: number): void; - - getCreatedAt(): number; - setCreatedAt(value: number): void; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): MemberSession.AsObject; - static toObject(includeInstance: boolean, msg: MemberSession): MemberSession.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: MemberSession, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): MemberSession; - static deserializeBinaryFromReader(message: MemberSession, reader: jspb.BinaryReader): MemberSession; -} - -export namespace MemberSession { - export type AsObject = { - id: string, - member?: models_member_pb.Member.AsObject, - data: string, - lastAccessedAt: number, - expiresAt: number, - createdAt: number, - } -} - diff --git a/src/app/modules/proto/models/member_session_pb.js b/src/app/modules/proto/models/member_session_pb.js deleted file mode 100644 index 36a092c..0000000 --- a/src/app/modules/proto/models/member_session_pb.js +++ /dev/null @@ -1,343 +0,0 @@ -// source: models/member_session.proto -/** - * @fileoverview - * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. - * @suppress {messageConventions} JS Compiler reports an error if a variable or - * field starts with 'MSG_' and isn't a translatable message. - * @public - */ -// GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck - -var jspb = require('google-protobuf'); -var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); - -var models_member_pb = require('../models/member_pb.js'); -goog.object.extend(proto, models_member_pb); -goog.exportSymbol('proto.bet.beteran.member_session.MemberSession', null, global); -/** - * 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_session.MemberSession = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.member_session.MemberSession, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.bet.beteran.member_session.MemberSession.displayName = 'proto.bet.beteran.member_session.MemberSession'; -} - - - -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_session.MemberSession.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.member_session.MemberSession.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_session.MemberSession} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.member_session.MemberSession.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - member: (f = msg.getMember()) && models_member_pb.Member.toObject(includeInstance, f), - data: jspb.Message.getFieldWithDefault(msg, 3, ""), - lastAccessedAt: jspb.Message.getFieldWithDefault(msg, 4, 0), - expiresAt: jspb.Message.getFieldWithDefault(msg, 5, 0), - createdAt: jspb.Message.getFieldWithDefault(msg, 6, 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_session.MemberSession} - */ -proto.bet.beteran.member_session.MemberSession.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.member_session.MemberSession; - return proto.bet.beteran.member_session.MemberSession.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.bet.beteran.member_session.MemberSession} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.bet.beteran.member_session.MemberSession} - */ -proto.bet.beteran.member_session.MemberSession.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_member_pb.Member; - reader.readMessage(value,models_member_pb.Member.deserializeBinaryFromReader); - msg.setMember(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setData(value); - break; - case 4: - var value = /** @type {number} */ (reader.readUint64()); - msg.setLastAccessedAt(value); - break; - case 5: - var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiresAt(value); - break; - case 6: - var value = /** @type {number} */ (reader.readUint64()); - msg.setCreatedAt(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.bet.beteran.member_session.MemberSession.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.member_session.MemberSession.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_session.MemberSession} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.member_session.MemberSession.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getMember(); - if (f != null) { - writer.writeMessage( - 2, - f, - models_member_pb.Member.serializeBinaryToWriter - ); - } - f = message.getData(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getLastAccessedAt(); - if (f !== 0) { - writer.writeUint64( - 4, - f - ); - } - f = message.getExpiresAt(); - if (f !== 0) { - writer.writeUint64( - 5, - f - ); - } - f = message.getCreatedAt(); - if (f !== 0) { - writer.writeUint64( - 6, - f - ); - } -}; - - -/** - * optional string id = 1; - * @return {string} - */ -proto.bet.beteran.member_session.MemberSession.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.bet.beteran.member_session.MemberSession} returns this - */ -proto.bet.beteran.member_session.MemberSession.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional bet.beteran.member.Member member = 2; - * @return {?proto.bet.beteran.member.Member} - */ -proto.bet.beteran.member_session.MemberSession.prototype.getMember = function() { - return /** @type{?proto.bet.beteran.member.Member} */ ( - jspb.Message.getWrapperField(this, models_member_pb.Member, 2)); -}; - - -/** - * @param {?proto.bet.beteran.member.Member|undefined} value - * @return {!proto.bet.beteran.member_session.MemberSession} returns this -*/ -proto.bet.beteran.member_session.MemberSession.prototype.setMember = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.bet.beteran.member_session.MemberSession} returns this - */ -proto.bet.beteran.member_session.MemberSession.prototype.clearMember = function() { - return this.setMember(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.bet.beteran.member_session.MemberSession.prototype.hasMember = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional string data = 3; - * @return {string} - */ -proto.bet.beteran.member_session.MemberSession.prototype.getData = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.bet.beteran.member_session.MemberSession} returns this - */ -proto.bet.beteran.member_session.MemberSession.prototype.setData = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - - -/** - * optional uint64 last_accessed_at = 4; - * @return {number} - */ -proto.bet.beteran.member_session.MemberSession.prototype.getLastAccessedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.bet.beteran.member_session.MemberSession} returns this - */ -proto.bet.beteran.member_session.MemberSession.prototype.setLastAccessedAt = function(value) { - return jspb.Message.setProto3IntField(this, 4, value); -}; - - -/** - * optional uint64 expires_at = 5; - * @return {number} - */ -proto.bet.beteran.member_session.MemberSession.prototype.getExpiresAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.bet.beteran.member_session.MemberSession} returns this - */ -proto.bet.beteran.member_session.MemberSession.prototype.setExpiresAt = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); -}; - - -/** - * optional uint64 created_at = 6; - * @return {number} - */ -proto.bet.beteran.member_session.MemberSession.prototype.getCreatedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.bet.beteran.member_session.MemberSession} returns this - */ -proto.bet.beteran.member_session.MemberSession.prototype.setCreatedAt = function(value) { - return jspb.Message.setProto3IntField(this, 6, value); -}; - - -goog.object.extend(exports, proto.bet.beteran.member_session);