From 64ab9ce51b7ce20b48bdf846c0306ac02c343e32 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Sun, 14 Aug 2022 15:19:59 +0000 Subject: [PATCH] create_member is modified --- src/app/modules/proto/c2se/member_pb.d.ts | 641 +- src/app/modules/proto/c2se/member_pb.js | 6853 ++++++++++++--------- 2 files changed, 4292 insertions(+), 3202 deletions(-) diff --git a/src/app/modules/proto/c2se/member_pb.d.ts b/src/app/modules/proto/c2se/member_pb.d.ts index fea2abc..7ae1ea5 100644 --- a/src/app/modules/proto/c2se/member_pb.d.ts +++ b/src/app/modules/proto/c2se/member_pb.d.ts @@ -1,10 +1,10 @@ // package: bet.beteran.c2se.member // file: c2se/member.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_pb from "../models/member_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_pb from '../models/member_pb'; export class CreateMemberRequest extends jspb.Message { getSiteId(): string; @@ -35,30 +35,82 @@ export class CreateMemberRequest extends jspb.Message { getMobilePhoneNumber(): string; setMobilePhoneNumber(value: string): void; - getState(): models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]; - setState(value: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]): void; + hasBankAccount(): boolean; + clearBankAccount(): void; + getBankAccount(): CreateMemberRequest.BankAccount | undefined; + setBankAccount(value?: CreateMemberRequest.BankAccount): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberRequest): CreateMemberRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberRequest + ): CreateMemberRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberRequest; - static deserializeBinaryFromReader(message: CreateMemberRequest, reader: jspb.BinaryReader): CreateMemberRequest; + static deserializeBinaryFromReader( + message: CreateMemberRequest, + reader: jspb.BinaryReader + ): CreateMemberRequest; } export namespace CreateMemberRequest { export type AsObject = { - siteId: string, - memberClassId: string, - memberLevelId: string, - referrerMemberUsername: string, - username: string, - password: string, - nickname: string, - mobilePhoneNumber: string, - state: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap], + siteId: string; + memberClassId: string; + memberLevelId: string; + referrerMemberUsername: string; + username: string; + password: string; + nickname: string; + mobilePhoneNumber: string; + bankAccount?: CreateMemberRequest.BankAccount.AsObject; + }; + + export class BankAccount extends jspb.Message { + getBankId(): string; + setBankId(value: string): void; + + getName(): string; + setName(value: string): void; + + getAccountNumber(): string; + setAccountNumber(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BankAccount.AsObject; + static toObject( + includeInstance: boolean, + msg: BankAccount + ): BankAccount.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: BankAccount, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): BankAccount; + static deserializeBinaryFromReader( + message: BankAccount, + reader: jspb.BinaryReader + ): BankAccount; + } + + export namespace BankAccount { + export type AsObject = { + bankId: string; + name: string; + accountNumber: string; + }; } } @@ -75,19 +127,30 @@ export class CreateMemberResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberResponse): CreateMemberResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberResponse + ): CreateMemberResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberResponse; - static deserializeBinaryFromReader(message: CreateMemberResponse, reader: jspb.BinaryReader): CreateMemberResponse; + static deserializeBinaryFromReader( + message: CreateMemberResponse, + reader: jspb.BinaryReader + ): CreateMemberResponse; } export namespace CreateMemberResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: CreateMemberResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateMemberResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMember(): boolean; @@ -98,17 +161,25 @@ export namespace CreateMemberResponse { 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 = { - member?: models_member_pb.MemberModel.AsObject, - } + member?: models_member_pb.MemberModel.AsObject; + }; } } @@ -121,7 +192,10 @@ export class ListMembersRequest 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; @@ -130,20 +204,31 @@ export class ListMembersRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMembersRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListMembersRequest): ListMembersRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMembersRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMembersRequest + ): ListMembersRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMembersRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMembersRequest; - static deserializeBinaryFromReader(message: ListMembersRequest, reader: jspb.BinaryReader): ListMembersRequest; + static deserializeBinaryFromReader( + message: ListMembersRequest, + reader: jspb.BinaryReader + ): ListMembersRequest; } export namespace ListMembersRequest { export type AsObject = { - pagination?: protobuf_pagination_pb.Pagination.AsObject, - sortsList: Array, - search?: ListMembersRequest.Search.AsObject, - } + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListMembersRequest.Search.AsObject; + }; export class Search extends jspb.Message { hasSiteId(): boolean; @@ -189,7 +274,9 @@ export namespace ListMembersRequest { hasState(): boolean; clearState(): void; getState(): models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]; - setState(value: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]): void; + setState( + value: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap] + ): void; hasDeletedAt(): boolean; clearDeletedAt(): void; @@ -199,26 +286,34 @@ export namespace ListMembersRequest { 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 = { - siteId: string, - memberClassId: string, - memberLevelId: string, - referrerMemberId: string, - usernameLike: string, - nicknameLike: string, - mobilePhoneNumberLike: string, - lastSigninedIp: string, - state: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap], - deletedAt: number, - } + siteId: string; + memberClassId: string; + memberLevelId: string; + referrerMemberId: string; + usernameLike: string; + nicknameLike: string; + mobilePhoneNumberLike: string; + lastSigninedIp: string; + state: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]; + deletedAt: number; + }; } } @@ -235,40 +330,62 @@ export class ListMembersResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMembersResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListMembersResponse): ListMembersResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMembersResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMembersResponse + ): ListMembersResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMembersResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMembersResponse; - static deserializeBinaryFromReader(message: ListMembersResponse, reader: jspb.BinaryReader): ListMembersResponse; + static deserializeBinaryFromReader( + message: ListMembersResponse, + reader: jspb.BinaryReader + ): ListMembersResponse; } export namespace ListMembersResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: ListMembersResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListMembersResponse.Result.AsObject; + }; export class Result extends jspb.Message { clearMembersList(): void; getMembersList(): Array; setMembersList(value: Array): void; - addMembers(value?: models_member_pb.MemberModel, index?: number): models_member_pb.MemberModel; + addMembers( + value?: models_member_pb.MemberModel, + index?: number + ): models_member_pb.MemberModel; 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 = { - membersList: Array, - } + membersList: Array; + }; } } @@ -278,18 +395,29 @@ export class GetMemberRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberRequest): GetMemberRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberRequest + ): GetMemberRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberRequest; - static deserializeBinaryFromReader(message: GetMemberRequest, reader: jspb.BinaryReader): GetMemberRequest; + static deserializeBinaryFromReader( + message: GetMemberRequest, + reader: jspb.BinaryReader + ): GetMemberRequest; } export namespace GetMemberRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class GetMemberResponse extends jspb.Message { @@ -305,19 +433,30 @@ export class GetMemberResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberResponse): GetMemberResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberResponse + ): GetMemberResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberResponse; - static deserializeBinaryFromReader(message: GetMemberResponse, reader: jspb.BinaryReader): GetMemberResponse; + static deserializeBinaryFromReader( + message: GetMemberResponse, + reader: jspb.BinaryReader + ): GetMemberResponse; } export namespace GetMemberResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetMemberResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMember(): boolean; @@ -328,17 +467,25 @@ export namespace GetMemberResponse { 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 = { - member?: models_member_pb.MemberModel.AsObject, - } + member?: models_member_pb.MemberModel.AsObject; + }; } } @@ -348,18 +495,29 @@ export class GetMemberByUsernameRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberByUsernameRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberByUsernameRequest): GetMemberByUsernameRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberByUsernameRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberByUsernameRequest + ): GetMemberByUsernameRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberByUsernameRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberByUsernameRequest; - static deserializeBinaryFromReader(message: GetMemberByUsernameRequest, reader: jspb.BinaryReader): GetMemberByUsernameRequest; + static deserializeBinaryFromReader( + message: GetMemberByUsernameRequest, + reader: jspb.BinaryReader + ): GetMemberByUsernameRequest; } export namespace GetMemberByUsernameRequest { export type AsObject = { - username: string, - } + username: string; + }; } export class GetMemberByUsernameResponse extends jspb.Message { @@ -375,19 +533,30 @@ export class GetMemberByUsernameResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberByUsernameResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberByUsernameResponse): GetMemberByUsernameResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberByUsernameResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberByUsernameResponse + ): GetMemberByUsernameResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberByUsernameResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberByUsernameResponse; - static deserializeBinaryFromReader(message: GetMemberByUsernameResponse, reader: jspb.BinaryReader): GetMemberByUsernameResponse; + static deserializeBinaryFromReader( + message: GetMemberByUsernameResponse, + reader: jspb.BinaryReader + ): GetMemberByUsernameResponse; } export namespace GetMemberByUsernameResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetMemberByUsernameResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberByUsernameResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMember(): boolean; @@ -398,17 +567,25 @@ export namespace GetMemberByUsernameResponse { 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 = { - member?: models_member_pb.MemberModel.AsObject, - } + member?: models_member_pb.MemberModel.AsObject; + }; } } @@ -438,22 +615,33 @@ export class UpdateMemberRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberRequest): UpdateMemberRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberRequest + ): UpdateMemberRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberRequest; - static deserializeBinaryFromReader(message: UpdateMemberRequest, reader: jspb.BinaryReader): UpdateMemberRequest; + static deserializeBinaryFromReader( + message: UpdateMemberRequest, + reader: jspb.BinaryReader + ): UpdateMemberRequest; } export namespace UpdateMemberRequest { export type AsObject = { - id: string, - siteId: string, - memberLevelId: string, - password: string, - mobilePhoneNumber: string, - } + id: string; + siteId: string; + memberLevelId: string; + password: string; + mobilePhoneNumber: string; + }; } export class UpdateMemberResponse extends jspb.Message { @@ -469,19 +657,30 @@ export class UpdateMemberResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberResponse): UpdateMemberResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberResponse + ): UpdateMemberResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberResponse; - static deserializeBinaryFromReader(message: UpdateMemberResponse, reader: jspb.BinaryReader): UpdateMemberResponse; + static deserializeBinaryFromReader( + message: UpdateMemberResponse, + reader: jspb.BinaryReader + ): UpdateMemberResponse; } export namespace UpdateMemberResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMember(): boolean; @@ -492,17 +691,25 @@ export namespace UpdateMemberResponse { 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 = { - member?: models_member_pb.MemberModel.AsObject, - } + member?: models_member_pb.MemberModel.AsObject; + }; } } @@ -511,23 +718,36 @@ export class UpdateMemberForStateRequest extends jspb.Message { setId(value: string): void; getState(): models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]; - setState(value: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]): void; + setState( + value: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap] + ): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberForStateRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberForStateRequest): UpdateMemberForStateRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberForStateRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberForStateRequest + ): UpdateMemberForStateRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberForStateRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberForStateRequest; - static deserializeBinaryFromReader(message: UpdateMemberForStateRequest, reader: jspb.BinaryReader): UpdateMemberForStateRequest; + static deserializeBinaryFromReader( + message: UpdateMemberForStateRequest, + reader: jspb.BinaryReader + ): UpdateMemberForStateRequest; } export namespace UpdateMemberForStateRequest { export type AsObject = { - id: string, - state: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap], - } + id: string; + state: models_member_pb.MemberStateMap[keyof models_member_pb.MemberStateMap]; + }; } export class UpdateMemberForStateResponse extends jspb.Message { @@ -543,19 +763,30 @@ export class UpdateMemberForStateResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberForStateResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberForStateResponse): UpdateMemberForStateResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberForStateResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberForStateResponse + ): UpdateMemberForStateResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberForStateResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberForStateResponse; - static deserializeBinaryFromReader(message: UpdateMemberForStateResponse, reader: jspb.BinaryReader): UpdateMemberForStateResponse; + static deserializeBinaryFromReader( + message: UpdateMemberForStateResponse, + reader: jspb.BinaryReader + ): UpdateMemberForStateResponse; } export namespace UpdateMemberForStateResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberForStateResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberForStateResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMember(): boolean; @@ -566,17 +797,25 @@ export namespace UpdateMemberForStateResponse { 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 = { - member?: models_member_pb.MemberModel.AsObject, - } + member?: models_member_pb.MemberModel.AsObject; + }; } } @@ -586,18 +825,29 @@ export class DeleteMemberRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberRequest): DeleteMemberRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberRequest + ): DeleteMemberRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberRequest; - static deserializeBinaryFromReader(message: DeleteMemberRequest, reader: jspb.BinaryReader): DeleteMemberRequest; + static deserializeBinaryFromReader( + message: DeleteMemberRequest, + reader: jspb.BinaryReader + ): DeleteMemberRequest; } export namespace DeleteMemberRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class DeleteMemberResponse extends jspb.Message { @@ -613,34 +863,51 @@ export class DeleteMemberResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberResponse): DeleteMemberResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberResponse + ): DeleteMemberResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberResponse; - static deserializeBinaryFromReader(message: DeleteMemberResponse, reader: jspb.BinaryReader): DeleteMemberResponse; + static deserializeBinaryFromReader( + message: DeleteMemberResponse, + reader: jspb.BinaryReader + ): DeleteMemberResponse; } export namespace DeleteMemberResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: DeleteMemberResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteMemberResponse.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_pb.js b/src/app/modules/proto/c2se/member_pb.js index 15d2fab..aea6595 100644 --- a/src/app/modules/proto/c2se/member_pb.js +++ b/src/app/modules/proto/c2se/member_pb.js @@ -11,38 +11,133 @@ /* 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_pb = require('../models/member_pb.js'); +var models_member_pb = require("../models/member_pb.js"); goog.object.extend(proto, models_member_pb); -goog.exportSymbol('proto.bet.beteran.c2se.member.CreateMemberRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.CreateMemberResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.CreateMemberResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.DeleteMemberRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.DeleteMemberResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.DeleteMemberResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.GetMemberByUsernameRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.GetMemberByUsernameResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.GetMemberRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.GetMemberResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.GetMemberResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.ListMembersRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.ListMembersRequest.Search', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.ListMembersResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.ListMembersResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.UpdateMemberForStateRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.UpdateMemberForStateResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.UpdateMemberRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.UpdateMemberResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member.UpdateMemberResponse.Result', null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.CreateMemberRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.CreateMemberResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.CreateMemberResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.DeleteMemberRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.DeleteMemberResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.DeleteMemberResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.GetMemberByUsernameRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.GetMemberByUsernameResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.GetMemberRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.GetMemberResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.GetMemberResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.ListMembersRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.ListMembersRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.ListMembersResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.ListMembersResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberForStateRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberForStateResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberResponse.Result", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -53,7 +148,7 @@ goog.exportSymbol('proto.bet.beteran.c2se.member.UpdateMemberResponse.Result', n * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.CreateMemberRequest = function(opt_data) { +proto.bet.beteran.c2se.member.CreateMemberRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.CreateMemberRequest, jspb.Message); @@ -62,7 +157,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.CreateMemberRequest.displayName = 'proto.bet.beteran.c2se.member.CreateMemberRequest'; + proto.bet.beteran.c2se.member.CreateMemberRequest.displayName = + "proto.bet.beteran.c2se.member.CreateMemberRequest"; } /** * Generated by JsPbCodeGenerator. @@ -74,7 +170,34 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.CreateMemberResponse = function(opt_data) { +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.displayName = + "proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member.CreateMemberResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.CreateMemberResponse, jspb.Message); @@ -83,7 +206,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.CreateMemberResponse.displayName = 'proto.bet.beteran.c2se.member.CreateMemberResponse'; + proto.bet.beteran.c2se.member.CreateMemberResponse.displayName = + "proto.bet.beteran.c2se.member.CreateMemberResponse"; } /** * Generated by JsPbCodeGenerator. @@ -95,16 +219,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member.CreateMemberResponse.Result = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.CreateMemberResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.CreateMemberResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.CreateMemberResponse.Result.displayName = 'proto.bet.beteran.c2se.member.CreateMemberResponse.Result'; + proto.bet.beteran.c2se.member.CreateMemberResponse.Result.displayName = + "proto.bet.beteran.c2se.member.CreateMemberResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -116,8 +246,15 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.ListMembersRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member.ListMembersRequest.repeatedFields_, null); +proto.bet.beteran.c2se.member.ListMembersRequest = function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member.ListMembersRequest.repeatedFields_, + null + ); }; goog.inherits(proto.bet.beteran.c2se.member.ListMembersRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { @@ -125,7 +262,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.ListMembersRequest.displayName = 'proto.bet.beteran.c2se.member.ListMembersRequest'; + proto.bet.beteran.c2se.member.ListMembersRequest.displayName = + "proto.bet.beteran.c2se.member.ListMembersRequest"; } /** * Generated by JsPbCodeGenerator. @@ -137,16 +275,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search = function(opt_data) { +proto.bet.beteran.c2se.member.ListMembersRequest.Search = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.ListMembersRequest.Search, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.ListMembersRequest.Search, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.ListMembersRequest.Search.displayName = 'proto.bet.beteran.c2se.member.ListMembersRequest.Search'; + proto.bet.beteran.c2se.member.ListMembersRequest.Search.displayName = + "proto.bet.beteran.c2se.member.ListMembersRequest.Search"; } /** * Generated by JsPbCodeGenerator. @@ -158,7 +300,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.ListMembersResponse = function(opt_data) { +proto.bet.beteran.c2se.member.ListMembersResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.ListMembersResponse, jspb.Message); @@ -167,7 +309,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.ListMembersResponse.displayName = 'proto.bet.beteran.c2se.member.ListMembersResponse'; + proto.bet.beteran.c2se.member.ListMembersResponse.displayName = + "proto.bet.beteran.c2se.member.ListMembersResponse"; } /** * Generated by JsPbCodeGenerator. @@ -179,16 +322,27 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member.ListMembersResponse.Result.repeatedFields_, null); +proto.bet.beteran.c2se.member.ListMembersResponse.Result = function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member.ListMembersResponse.Result.repeatedFields_, + null + ); }; -goog.inherits(proto.bet.beteran.c2se.member.ListMembersResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.ListMembersResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.ListMembersResponse.Result.displayName = 'proto.bet.beteran.c2se.member.ListMembersResponse.Result'; + proto.bet.beteran.c2se.member.ListMembersResponse.Result.displayName = + "proto.bet.beteran.c2se.member.ListMembersResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -200,7 +354,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.GetMemberRequest = function(opt_data) { +proto.bet.beteran.c2se.member.GetMemberRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.GetMemberRequest, jspb.Message); @@ -209,7 +363,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.GetMemberRequest.displayName = 'proto.bet.beteran.c2se.member.GetMemberRequest'; + proto.bet.beteran.c2se.member.GetMemberRequest.displayName = + "proto.bet.beteran.c2se.member.GetMemberRequest"; } /** * Generated by JsPbCodeGenerator. @@ -221,7 +376,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.GetMemberResponse = function(opt_data) { +proto.bet.beteran.c2se.member.GetMemberResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.GetMemberResponse, jspb.Message); @@ -230,7 +385,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.GetMemberResponse.displayName = 'proto.bet.beteran.c2se.member.GetMemberResponse'; + proto.bet.beteran.c2se.member.GetMemberResponse.displayName = + "proto.bet.beteran.c2se.member.GetMemberResponse"; } /** * Generated by JsPbCodeGenerator. @@ -242,16 +398,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.GetMemberResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member.GetMemberResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.GetMemberResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.GetMemberResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.GetMemberResponse.Result.displayName = 'proto.bet.beteran.c2se.member.GetMemberResponse.Result'; + proto.bet.beteran.c2se.member.GetMemberResponse.Result.displayName = + "proto.bet.beteran.c2se.member.GetMemberResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -263,16 +423,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.GetMemberByUsernameRequest = function(opt_data) { +proto.bet.beteran.c2se.member.GetMemberByUsernameRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.GetMemberByUsernameRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.GetMemberByUsernameRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.displayName = 'proto.bet.beteran.c2se.member.GetMemberByUsernameRequest'; + proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.displayName = + "proto.bet.beteran.c2se.member.GetMemberByUsernameRequest"; } /** * Generated by JsPbCodeGenerator. @@ -284,16 +448,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse = function(opt_data) { +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.GetMemberByUsernameResponse, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.displayName = 'proto.bet.beteran.c2se.member.GetMemberByUsernameResponse'; + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.displayName = + "proto.bet.beteran.c2se.member.GetMemberByUsernameResponse"; } /** * Generated by JsPbCodeGenerator. @@ -305,16 +475,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.displayName = 'proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result'; + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.displayName = + "proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -326,7 +502,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.UpdateMemberRequest = function(opt_data) { +proto.bet.beteran.c2se.member.UpdateMemberRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.UpdateMemberRequest, jspb.Message); @@ -335,7 +511,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.UpdateMemberRequest.displayName = 'proto.bet.beteran.c2se.member.UpdateMemberRequest'; + proto.bet.beteran.c2se.member.UpdateMemberRequest.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberRequest"; } /** * Generated by JsPbCodeGenerator. @@ -347,7 +524,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.UpdateMemberResponse = function(opt_data) { +proto.bet.beteran.c2se.member.UpdateMemberResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.UpdateMemberResponse, jspb.Message); @@ -356,7 +533,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.UpdateMemberResponse.displayName = 'proto.bet.beteran.c2se.member.UpdateMemberResponse'; + proto.bet.beteran.c2se.member.UpdateMemberResponse.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberResponse"; } /** * Generated by JsPbCodeGenerator. @@ -368,16 +546,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member.UpdateMemberResponse.Result = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.UpdateMemberResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.displayName = 'proto.bet.beteran.c2se.member.UpdateMemberResponse.Result'; + proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -389,16 +573,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.UpdateMemberForStateRequest = function(opt_data) { +proto.bet.beteran.c2se.member.UpdateMemberForStateRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.UpdateMemberForStateRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberForStateRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.displayName = 'proto.bet.beteran.c2se.member.UpdateMemberForStateRequest'; + proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberForStateRequest"; } /** * Generated by JsPbCodeGenerator. @@ -410,16 +600,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse = function(opt_data) { +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.UpdateMemberForStateResponse, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.displayName = 'proto.bet.beteran.c2se.member.UpdateMemberForStateResponse'; + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberForStateResponse"; } /** * Generated by JsPbCodeGenerator. @@ -431,16 +627,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.displayName = 'proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result'; + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -452,7 +654,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.DeleteMemberRequest = function(opt_data) { +proto.bet.beteran.c2se.member.DeleteMemberRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.DeleteMemberRequest, jspb.Message); @@ -461,7 +663,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.DeleteMemberRequest.displayName = 'proto.bet.beteran.c2se.member.DeleteMemberRequest'; + proto.bet.beteran.c2se.member.DeleteMemberRequest.displayName = + "proto.bet.beteran.c2se.member.DeleteMemberRequest"; } /** * Generated by JsPbCodeGenerator. @@ -473,7 +676,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.DeleteMemberResponse = function(opt_data) { +proto.bet.beteran.c2se.member.DeleteMemberResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member.DeleteMemberResponse, jspb.Message); @@ -482,7 +685,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.member.DeleteMemberResponse.displayName = 'proto.bet.beteran.c2se.member.DeleteMemberResponse'; + proto.bet.beteran.c2se.member.DeleteMemberResponse.displayName = + "proto.bet.beteran.c2se.member.DeleteMemberResponse"; } /** * Generated by JsPbCodeGenerator. @@ -494,80 +698,99 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member.DeleteMemberResponse.Result = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member.DeleteMemberResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member.DeleteMemberResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.displayName = 'proto.bet.beteran.c2se.member.DeleteMemberResponse.Result'; + proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.displayName = + "proto.bet.beteran.c2se.member.DeleteMemberResponse.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.CreateMemberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.CreateMemberRequest.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.CreateMemberRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.CreateMemberRequest.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.CreateMemberRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.CreateMemberRequest.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + siteId: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""), + memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), + referrerMemberUsername: jspb.Message.getFieldWithDefault(msg, 4, ""), + username: jspb.Message.getFieldWithDefault(msg, 5, ""), + password: jspb.Message.getFieldWithDefault(msg, 6, ""), + nickname: jspb.Message.getFieldWithDefault(msg, 7, ""), + mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 8, ""), + bankAccount: + (f = msg.getBankAccount()) && + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.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.CreateMemberRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.CreateMemberRequest.toObject = function(includeInstance, msg) { - var f, obj = { - siteId: jspb.Message.getFieldWithDefault(msg, 1, ""), - memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""), - memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), - referrerMemberUsername: jspb.Message.getFieldWithDefault(msg, 4, ""), - username: jspb.Message.getFieldWithDefault(msg, 5, ""), - password: jspb.Message.getFieldWithDefault(msg, 6, ""), - nickname: jspb.Message.getFieldWithDefault(msg, 7, ""), - mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 8, ""), - state: 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.c2se.member.CreateMemberRequest} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.member.CreateMemberRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.CreateMemberRequest; - return proto.bet.beteran.c2se.member.CreateMemberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.member.CreateMemberRequest(); + return proto.bet.beteran.c2se.member.CreateMemberRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -575,68 +798,77 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.deserializeBinary = function(b * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.CreateMemberRequest.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.setSiteId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberClassId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberLevelId(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setReferrerMemberUsername(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setUsername(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPassword(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setNickname(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setMobilePhoneNumber(value); + break; + case 9: + var value = + new proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount + .deserializeBinaryFromReader + ); + msg.setBankAccount(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setSiteId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberClassId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberLevelId(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setReferrerMemberUsername(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setUsername(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setPassword(value); - break; - case 7: - var value = /** @type {string} */ (reader.readString()); - msg.setNickname(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setMobilePhoneNumber(value); - break; - case 9: - var value = /** @type {!proto.bet.beteran.member.MemberState} */ (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.CreateMemberRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.CreateMemberRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.CreateMemberRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -645,327 +877,553 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.serializeBinary = fu * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.CreateMemberRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getSiteId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getMemberClassId(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getMemberLevelId(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeString( - 4, - f - ); - } - f = message.getUsername(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } - f = message.getPassword(); - if (f.length > 0) { - writer.writeString( - 6, - f - ); - } - f = message.getNickname(); - 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 - ); - } -}; +proto.bet.beteran.c2se.member.CreateMemberRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getSiteId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getMemberClassId(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getMemberLevelId(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString(4, f); + } + f = message.getUsername(); + if (f.length > 0) { + writer.writeString(5, f); + } + f = message.getPassword(); + if (f.length > 0) { + writer.writeString(6, f); + } + f = message.getNickname(); + 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.getBankAccount(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount + .serializeBinaryToWriter + ); + } + }; +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.toObject = + function (includeInstance, msg) { + var f, + obj = { + bankId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), + }; + + 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.CreateMemberRequest.BankAccount} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount(); + return proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setBankId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setAccountNumber(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getBankId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getAccountNumber(); + if (f.length > 0) { + writer.writeString(3, f); + } + }; + +/** + * optional string bank_id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getBankId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setBankId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional string name = 2; + * @return {string} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; + +/** + * optional string account_number = 3; + * @return {string} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getAccountNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setAccountNumber = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional string site_id = 1; * @return {string} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getSiteId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getSiteId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setSiteId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setSiteId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string member_class_id = 2; * @return {string} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMemberClassId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMemberClassId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setMemberClassId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setMemberClassId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional string member_level_id = 3; * @return {string} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMemberLevelId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMemberLevelId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setMemberLevelId = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setMemberLevelId = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional string referrer_member_username = 4; * @return {string} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getReferrerMemberUsername = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getReferrerMemberUsername = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setReferrerMemberUsername = function(value) { - return jspb.Message.setField(this, 4, value); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setReferrerMemberUsername = + function (value) { + return jspb.Message.setField(this, 4, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearReferrerMemberUsername = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearReferrerMemberUsername = + function () { + return jspb.Message.setField(this, 4, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasReferrerMemberUsername = function() { - return jspb.Message.getField(this, 4) != null; -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasReferrerMemberUsername = + function () { + return jspb.Message.getField(this, 4) != null; + }; /** * optional string username = 5; * @return {string} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getUsername = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getUsername = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setUsername = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setUsername = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; /** * optional string password = 6; * @return {string} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getPassword = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getPassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setPassword = function(value) { - return jspb.Message.setProto3StringField(this, 6, value); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setPassword = + function (value) { + return jspb.Message.setProto3StringField(this, 6, value); + }; /** * optional string nickname = 7; * @return {string} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getNickname = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getNickname = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 7, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setNickname = function(value) { - return jspb.Message.setProto3StringField(this, 7, value); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setNickname = + function (value) { + return jspb.Message.setProto3StringField(this, 7, value); + }; /** * optional string mobile_phone_number = 8; * @return {string} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMobilePhoneNumber = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMobilePhoneNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 8, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setMobilePhoneNumber = function(value) { - return jspb.Message.setField(this, 8, value); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setMobilePhoneNumber = + function (value) { + return jspb.Message.setField(this, 8, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearMobilePhoneNumber = function() { - return jspb.Message.setField(this, 8, undefined); -}; - +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearMobilePhoneNumber = + function () { + return jspb.Message.setField(this, 8, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasMobilePhoneNumber = function() { - return jspb.Message.getField(this, 8) != null; -}; - - -/** - * optional bet.beteran.member.MemberState state = 9; - * @return {!proto.bet.beteran.member.MemberState} - */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member.MemberState} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); -}; - - -/** - * @param {!proto.bet.beteran.member.MemberState} value - * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this - */ -proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setState = function(value) { - return jspb.Message.setProto3EnumField(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.c2se.member.CreateMemberResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasMobilePhoneNumber = + function () { + return jspb.Message.getField(this, 8) != null; }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +/** + * optional BankAccount bank_account = 9; + * @return {?proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getBankAccount = + function () { + return /** @type{?proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount, + 9 + ) + ); + }; +/** + * @param {?proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount|undefined} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setBankAccount = + function (value) { + return jspb.Message.setWrapperField(this, 9, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearBankAccount = + function () { + return this.setBankAccount(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasBankAccount = + function () { + return jspb.Message.getField(this, 9) != 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.CreateMemberResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.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.CreateMemberResponse} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.CreateMemberResponse; - return proto.bet.beteran.c2se.member.CreateMemberResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.CreateMemberResponse(); + return proto.bet.beteran.c2se.member.CreateMemberResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -974,42 +1432,53 @@ proto.bet.beteran.c2se.member.CreateMemberResponse.deserializeBinary = function( * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.CreateMemberResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.CreateMemberResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1018,81 +1487,84 @@ proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.serializeBinary = f * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.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.CreateMemberResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - member: (f = msg.getMember()) && models_member_pb.MemberModel.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.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.CreateMemberResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.CreateMemberResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + member: + (f = msg.getMember()) && + models_member_pb.MemberModel.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.CreateMemberResponse.Result} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.CreateMemberResponse.Result; - return proto.bet.beteran.c2se.member.CreateMemberResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.CreateMemberResponse.Result(); + return proto.bet.beteran.c2se.member.CreateMemberResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1101,37 +1573,43 @@ proto.bet.beteran.c2se.member.CreateMemberResponse.Result.deserializeBinary = fu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse.Result} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.CreateMemberResponse.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_pb.MemberModel(); + reader.readMessage( + value, + models_member_pb.MemberModel.deserializeBinaryFromReader + ); + msg.setMember(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_pb.MemberModel; - reader.readMessage(value,models_member_pb.MemberModel.deserializeBinaryFromReader); - msg.setMember(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.CreateMemberResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.CreateMemberResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.CreateMemberResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1140,130 +1618,136 @@ proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.serializeBin * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMember(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_pb.MemberModel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMember(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_pb.MemberModel.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member.MemberModel member = 1; * @return {?proto.bet.beteran.member.MemberModel} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.getMember = function() { - return /** @type{?proto.bet.beteran.member.MemberModel} */ ( - jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.getMember = + function () { + return /** @type{?proto.bet.beteran.member.MemberModel} */ ( + jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1) + ); + }; /** * @param {?proto.bet.beteran.member.MemberModel|undefined} value * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.setMember = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.setMember = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse.Result} returns this */ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.clearMember = function() { - return this.setMember(undefined); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.clearMember = + function () { + return this.setMember(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.hasMember = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.hasMember = + 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.CreateMemberResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.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.CreateMemberResponse} returns this -*/ -proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse} returns this */ -proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member.CreateMemberResponse.Result} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member.CreateMemberResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member.CreateMemberResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member.CreateMemberResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.CreateMemberResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member.CreateMemberResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse} returns this -*/ -proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse} returns this */ -proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * List of repeated fields within this message type. @@ -1272,63 +1756,81 @@ proto.bet.beteran.c2se.member.CreateMemberResponse.prototype.hasResult = functio */ proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.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.ListMembersRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.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.ListMembersRequest} */ -proto.bet.beteran.c2se.member.ListMembersRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.member.ListMembersRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.ListMembersRequest; - return proto.bet.beteran.c2se.member.ListMembersRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.member.ListMembersRequest(); + return proto.bet.beteran.c2se.member.ListMembersRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -1336,47 +1838,61 @@ proto.bet.beteran.c2se.member.ListMembersRequest.deserializeBinary = function(by * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest} */ -proto.bet.beteran.c2se.member.ListMembersRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.Search; - reader.readMessage(value,proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.ListMembersRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.ListMembersRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1385,98 +1901,105 @@ proto.bet.beteran.c2se.member.ListMembersRequest.prototype.serializeBinary = fun * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.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.ListMembersRequest.Search.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.Search} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.toObject = function(includeInstance, msg) { - var f, obj = { - siteId: jspb.Message.getFieldWithDefault(msg, 1, ""), - memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""), - memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), - referrerMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""), - usernameLike: jspb.Message.getFieldWithDefault(msg, 5, ""), - nicknameLike: jspb.Message.getFieldWithDefault(msg, 6, ""), - mobilePhoneNumberLike: jspb.Message.getFieldWithDefault(msg, 7, ""), - lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 8, ""), - state: jspb.Message.getFieldWithDefault(msg, 9, 0), - deletedAt: jspb.Message.getFieldWithDefault(msg, 10, 0) +proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.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.ListMembersRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.ListMembersRequest.Search.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + siteId: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""), + memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), + referrerMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""), + usernameLike: jspb.Message.getFieldWithDefault(msg, 5, ""), + nicknameLike: jspb.Message.getFieldWithDefault(msg, 6, ""), + mobilePhoneNumberLike: jspb.Message.getFieldWithDefault(msg, 7, ""), + lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 8, ""), + state: jspb.Message.getFieldWithDefault(msg, 9, 0), + deletedAt: jspb.Message.getFieldWithDefault(msg, 10, 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.ListMembersRequest.Search} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.ListMembersRequest.Search; - return proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.ListMembersRequest.Search(); + return proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1485,72 +2008,77 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinary = func * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.ListMembersRequest.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.setSiteId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberClassId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberLevelId(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setReferrerMemberId(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setUsernameLike(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setNicknameLike(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setMobilePhoneNumberLike(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setLastSigninedIp(value); + break; + case 9: + var value = /** @type {!proto.bet.beteran.member.MemberState} */ ( + reader.readEnum() + ); + msg.setState(value); + break; + case 10: + var value = /** @type {number} */ (reader.readUint64()); + msg.setDeletedAt(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setSiteId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberClassId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberLevelId(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setReferrerMemberId(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setUsernameLike(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setNicknameLike(value); - break; - case 7: - var value = /** @type {string} */ (reader.readString()); - msg.setMobilePhoneNumberLike(value); - break; - case 8: - var value = /** @type {string} */ (reader.readString()); - msg.setLastSigninedIp(value); - break; - case 9: - var value = /** @type {!proto.bet.beteran.member.MemberState} */ (reader.readEnum()); - msg.setState(value); - break; - case 10: - var value = /** @type {number} */ (reader.readUint64()); - msg.setDeletedAt(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.ListMembersRequest.Search.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1559,609 +2087,630 @@ proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.serializeBinar * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( - 1, - f +proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString(1, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString(2, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString(3, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString(4, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString(5, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString(6, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString(7, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString(8, f); + } + f = /** @type {!proto.bet.beteran.member.MemberState} */ ( + jspb.Message.getField(message, 9) ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeString( - 7, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 8)); - if (f != null) { - writer.writeString( - 8, - f - ); - } - f = /** @type {!proto.bet.beteran.member.MemberState} */ (jspb.Message.getField(message, 9)); - if (f != null) { - writer.writeEnum( - 9, - f - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 10)); - if (f != null) { - writer.writeUint64( - 10, - f - ); - } -}; - + if (f != null) { + writer.writeEnum(9, f); + } + f = /** @type {number} */ (jspb.Message.getField(message, 10)); + if (f != null) { + writer.writeUint64(10, f); + } + }; /** * optional string site_id = 1; * @return {string} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getSiteId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getSiteId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setSiteId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setSiteId = + function (value) { + return jspb.Message.setField(this, 1, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearSiteId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearSiteId = + function () { + return jspb.Message.setField(this, 1, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasSiteId = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasSiteId = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional string member_class_id = 2; * @return {string} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMemberClassId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMemberClassId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMemberClassId = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMemberClassId = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMemberClassId = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMemberClassId = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMemberClassId = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMemberClassId = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional string member_level_id = 3; * @return {string} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMemberLevelId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMemberLevelId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMemberLevelId = function(value) { - return jspb.Message.setField(this, 3, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMemberLevelId = + function (value) { + return jspb.Message.setField(this, 3, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMemberLevelId = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMemberLevelId = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMemberLevelId = function() { - return jspb.Message.getField(this, 3) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMemberLevelId = + function () { + return jspb.Message.getField(this, 3) != null; + }; /** * optional string referrer_member_id = 4; * @return {string} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getReferrerMemberId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getReferrerMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setReferrerMemberId = function(value) { - return jspb.Message.setField(this, 4, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setReferrerMemberId = + function (value) { + return jspb.Message.setField(this, 4, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearReferrerMemberId = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearReferrerMemberId = + function () { + return jspb.Message.setField(this, 4, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasReferrerMemberId = function() { - return jspb.Message.getField(this, 4) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasReferrerMemberId = + function () { + return jspb.Message.getField(this, 4) != null; + }; /** * optional string username_like = 5; * @return {string} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLike = function(value) { - return jspb.Message.setField(this, 5, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLike = + function (value) { + return jspb.Message.setField(this, 5, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameLike = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameLike = + function () { + return jspb.Message.setField(this, 5, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsernameLike = function() { - return jspb.Message.getField(this, 5) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsernameLike = + function () { + return jspb.Message.getField(this, 5) != null; + }; /** * optional string nickname_like = 6; * @return {string} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknameLike = function(value) { - return jspb.Message.setField(this, 6, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknameLike = + function (value) { + return jspb.Message.setField(this, 6, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknameLike = function() { - return jspb.Message.setField(this, 6, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknameLike = + function () { + return jspb.Message.setField(this, 6, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNicknameLike = function() { - return jspb.Message.getField(this, 6) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNicknameLike = + function () { + return jspb.Message.getField(this, 6) != null; + }; /** * optional string mobile_phone_number_like = 7; * @return {string} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhoneNumberLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhoneNumberLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 7, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhoneNumberLike = function(value) { - return jspb.Message.setField(this, 7, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhoneNumberLike = + function (value) { + return jspb.Message.setField(this, 7, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePhoneNumberLike = function() { - return jspb.Message.setField(this, 7, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePhoneNumberLike = + function () { + return jspb.Message.setField(this, 7, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMobilePhoneNumberLike = function() { - return jspb.Message.getField(this, 7) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMobilePhoneNumberLike = + function () { + return jspb.Message.getField(this, 7) != null; + }; /** * optional string last_signined_ip = 8; * @return {string} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSigninedIp = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSigninedIp = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 8, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSigninedIp = function(value) { - return jspb.Message.setField(this, 8, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSigninedIp = + function (value) { + return jspb.Message.setField(this, 8, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigninedIp = function() { - return jspb.Message.setField(this, 8, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigninedIp = + function () { + return jspb.Message.setField(this, 8, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasLastSigninedIp = function() { - return jspb.Message.getField(this, 8) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasLastSigninedIp = + function () { + return jspb.Message.getField(this, 8) != null; + }; /** * optional bet.beteran.member.MemberState state = 9; * @return {!proto.bet.beteran.member.MemberState} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member.MemberState} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member.MemberState} */ ( + jspb.Message.getFieldWithDefault(this, 9, 0) + ); + }; /** * @param {!proto.bet.beteran.member.MemberState} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setState = function(value) { - return jspb.Message.setField(this, 9, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setState = + function (value) { + return jspb.Message.setField(this, 9, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearState = function() { - return jspb.Message.setField(this, 9, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearState = + function () { + return jspb.Message.setField(this, 9, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasState = function() { - return jspb.Message.getField(this, 9) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasState = + function () { + return jspb.Message.getField(this, 9) != null; + }; /** * optional uint64 deleted_at = 10; * @return {number} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getDeletedAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getDeletedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 10, 0) + ); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setDeletedAt = function(value) { - return jspb.Message.setField(this, 10, value); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setDeletedAt = + function (value) { + return jspb.Message.setField(this, 10, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearDeletedAt = function() { - return jspb.Message.setField(this, 10, undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearDeletedAt = + function () { + return jspb.Message.setField(this, 10, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasDeletedAt = function() { - return jspb.Message.getField(this, 10) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasDeletedAt = + function () { + return jspb.Message.getField(this, 10) != null; + }; /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} */ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.getPagination = function() { - return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( - jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1)); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest} returns this -*/ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.setPagination = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.setPagination = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.clearPagination = function() { - return this.setPagination(undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.hasPagination = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.hasPagination = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * repeated bet.protobuf.pagination.Sort sorts = 2; * @return {!Array} */ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.getSortsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.getSortsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest} returns this -*/ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.setSortsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersRequest.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.ListMembersRequest.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.ListMembersRequest} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.clearSortsList = function() { - return this.setSortsList([]); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.member.ListMembersRequest.Search} */ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.getSearch = function() { - return /** @type{?proto.bet.beteran.c2se.member.ListMembersRequest.Search} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member.ListMembersRequest.Search, 3)); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.getSearch = + function () { + return /** @type{?proto.bet.beteran.c2se.member.ListMembersRequest.Search} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.ListMembersRequest.Search, + 3 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member.ListMembersRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.member.ListMembersRequest} returns this -*/ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.setSearch = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - + */ +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.setSearch = + function (value) { + return jspb.Message.setWrapperField(this, 3, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersRequest} returns this */ -proto.bet.beteran.c2se.member.ListMembersRequest.prototype.clearSearch = function() { - return this.setSearch(undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.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.ListMembersResponse} */ -proto.bet.beteran.c2se.member.ListMembersResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.member.ListMembersResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.ListMembersResponse; - return proto.bet.beteran.c2se.member.ListMembersResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.member.ListMembersResponse(); + return proto.bet.beteran.c2se.member.ListMembersResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2169,42 +2718,53 @@ proto.bet.beteran.c2se.member.ListMembersResponse.deserializeBinary = function(b * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.ListMembersResponse} */ -proto.bet.beteran.c2se.member.ListMembersResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.ListMembersResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.ListMembersResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2213,27 +2773,23 @@ proto.bet.beteran.c2se.member.ListMembersResponse.prototype.serializeBinary = fu * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.Result.serializeBinaryToWriter - ); - } -}; - - +proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.Result + .serializeBinaryToWriter + ); + } + }; /** * List of repeated fields within this message type. @@ -2242,60 +2798,70 @@ proto.bet.beteran.c2se.member.ListMembersResponse.serializeBinaryToWriter = func */ proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.ListMembersResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + membersList: jspb.Message.toObjectList( + msg.getMembersList(), + models_member_pb.MemberModel.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.ListMembersResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - membersList: jspb.Message.toObjectList(msg.getMembersList(), - models_member_pb.MemberModel.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.ListMembersResponse.Result} */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.ListMembersResponse.Result; - return proto.bet.beteran.c2se.member.ListMembersResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.ListMembersResponse.Result(); + return proto.bet.beteran.c2se.member.ListMembersResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2304,37 +2870,43 @@ proto.bet.beteran.c2se.member.ListMembersResponse.Result.deserializeBinary = fun * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.ListMembersResponse.Result} */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.ListMembersResponse.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_pb.MemberModel(); + reader.readMessage( + value, + models_member_pb.MemberModel.deserializeBinaryFromReader + ); + msg.addMembers(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_pb.MemberModel; - reader.readMessage(value,models_member_pb.MemberModel.deserializeBinaryFromReader); - msg.addMembers(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.ListMembersResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.ListMembersResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.ListMembersResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2343,186 +2915,211 @@ proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.serializeBina * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMembersList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - models_member_pb.MemberModel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMembersList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + models_member_pb.MemberModel.serializeBinaryToWriter + ); + } + }; /** * repeated bet.beteran.member.MemberModel members = 1; * @return {!Array} */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.getMembersList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_member_pb.MemberModel, 1)); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.getMembersList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField( + this, + models_member_pb.MemberModel, + 1 + ) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member.ListMembersResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.setMembersList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.setMembersList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); + }; /** * @param {!proto.bet.beteran.member.MemberModel=} opt_value * @param {number=} opt_index * @return {!proto.bet.beteran.member.MemberModel} */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.addMembers = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.member.MemberModel, opt_index); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.addMembers = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 1, + opt_value, + proto.bet.beteran.member.MemberModel, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member.ListMembersResponse.Result} returns this */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.clearMembersList = function() { - return this.setMembersList([]); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.clearMembersList = + function () { + return this.setMembersList([]); + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member.ListMembersResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.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.ListMembersResponse} returns this -*/ -proto.bet.beteran.c2se.member.ListMembersResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.ListMembersResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersResponse} returns this */ -proto.bet.beteran.c2se.member.ListMembersResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member.ListMembersResponse.Result} */ -proto.bet.beteran.c2se.member.ListMembersResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member.ListMembersResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member.ListMembersResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member.ListMembersResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.ListMembersResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member.ListMembersResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member.ListMembersResponse} returns this -*/ -proto.bet.beteran.c2se.member.ListMembersResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member.ListMembersResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.ListMembersResponse} returns this */ -proto.bet.beteran.c2se.member.ListMembersResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member.ListMembersResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.ListMembersResponse.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.GetMemberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.GetMemberRequest.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.GetMemberRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.GetMemberRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member.ListMembersResponse.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.GetMemberRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.member.GetMemberRequest.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.GetMemberRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.GetMemberRequest.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.GetMemberRequest} */ -proto.bet.beteran.c2se.member.GetMemberRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.member.GetMemberRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.GetMemberRequest; - return proto.bet.beteran.c2se.member.GetMemberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.member.GetMemberRequest(); + return proto.bet.beteran.c2se.member.GetMemberRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2530,36 +3127,39 @@ proto.bet.beteran.c2se.member.GetMemberRequest.deserializeBinary = function(byte * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.GetMemberRequest} */ -proto.bet.beteran.c2se.member.GetMemberRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.GetMemberRequest.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.GetMemberRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.GetMemberRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.GetMemberRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.GetMemberRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2568,92 +3168,103 @@ proto.bet.beteran.c2se.member.GetMemberRequest.prototype.serializeBinary = funct * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.GetMemberRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member.GetMemberRequest.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.GetMemberRequest.prototype.getId = function() { +proto.bet.beteran.c2se.member.GetMemberRequest.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.GetMemberRequest} returns this */ -proto.bet.beteran.c2se.member.GetMemberRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.member.GetMemberRequest.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.GetMemberResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.Result.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.GetMemberResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.Result.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.GetMemberResponse} */ -proto.bet.beteran.c2se.member.GetMemberResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.member.GetMemberResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.GetMemberResponse; - return proto.bet.beteran.c2se.member.GetMemberResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.member.GetMemberResponse(); + return proto.bet.beteran.c2se.member.GetMemberResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2661,42 +3272,53 @@ proto.bet.beteran.c2se.member.GetMemberResponse.deserializeBinary = function(byt * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.GetMemberResponse} */ -proto.bet.beteran.c2se.member.GetMemberResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.GetMemberResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.GetMemberResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2705,81 +3327,86 @@ proto.bet.beteran.c2se.member.GetMemberResponse.prototype.serializeBinary = func * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.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.GetMemberResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.GetMemberResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - member: (f = msg.getMember()) && models_member_pb.MemberModel.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.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.GetMemberResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.GetMemberResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + member: + (f = msg.getMember()) && + models_member_pb.MemberModel.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.GetMemberResponse.Result} */ -proto.bet.beteran.c2se.member.GetMemberResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.GetMemberResponse.Result; - return proto.bet.beteran.c2se.member.GetMemberResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.GetMemberResponse.Result(); + return proto.bet.beteran.c2se.member.GetMemberResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2788,37 +3415,43 @@ proto.bet.beteran.c2se.member.GetMemberResponse.Result.deserializeBinary = funct * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.GetMemberResponse.Result} */ -proto.bet.beteran.c2se.member.GetMemberResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.GetMemberResponse.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_pb.MemberModel(); + reader.readMessage( + value, + models_member_pb.MemberModel.deserializeBinaryFromReader + ); + msg.setMember(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_pb.MemberModel; - reader.readMessage(value,models_member_pb.MemberModel.deserializeBinaryFromReader); - msg.setMember(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.GetMemberResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.GetMemberResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.GetMemberResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2827,184 +3460,199 @@ proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.serializeBinary * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.GetMemberResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMember(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_pb.MemberModel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMember(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_pb.MemberModel.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member.MemberModel member = 1; * @return {?proto.bet.beteran.member.MemberModel} */ -proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.getMember = function() { - return /** @type{?proto.bet.beteran.member.MemberModel} */ ( - jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.getMember = + function () { + return /** @type{?proto.bet.beteran.member.MemberModel} */ ( + jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1) + ); + }; /** * @param {?proto.bet.beteran.member.MemberModel|undefined} value * @return {!proto.bet.beteran.c2se.member.GetMemberResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.setMember = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.setMember = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.GetMemberResponse.Result} returns this */ -proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.clearMember = function() { - return this.setMember(undefined); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.clearMember = + function () { + return this.setMember(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.hasMember = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.hasMember = + 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.GetMemberResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberResponse} returns this -*/ -proto.bet.beteran.c2se.member.GetMemberResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.member.GetMemberResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.GetMemberResponse} returns this */ -proto.bet.beteran.c2se.member.GetMemberResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.GetMemberResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member.GetMemberResponse.Result} */ -proto.bet.beteran.c2se.member.GetMemberResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member.GetMemberResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member.GetMemberResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member.GetMemberResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.GetMemberResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member.GetMemberResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member.GetMemberResponse} returns this -*/ -proto.bet.beteran.c2se.member.GetMemberResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.member.GetMemberResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.GetMemberResponse} returns this */ -proto.bet.beteran.c2se.member.GetMemberResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member.GetMemberResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberByUsernameRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.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.GetMemberByUsernameRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.toObject = function(includeInstance, msg) { - var f, obj = { - username: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberByUsernameRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.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.GetMemberByUsernameRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + username: 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.GetMemberByUsernameRequest} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.GetMemberByUsernameRequest; - return proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.GetMemberByUsernameRequest(); + return proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3013,36 +3661,39 @@ proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.deserializeBinary = fun * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameRequest} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.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.setUsername(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setUsername(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.GetMemberByUsernameRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3051,91 +3702,101 @@ proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.prototype.serializeBina * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getUsername(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getUsername(); + if (f.length > 0) { + writer.writeString(1, f); + } + }; /** * optional string username = 1; * @return {string} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.prototype.getUsername = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.prototype.getUsername = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameRequest} returns this */ -proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.prototype.setUsername = 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.GetMemberByUsernameResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.prototype.setUsername = + 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.GetMemberByUsernameResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.GetMemberByUsernameResponse; - return proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.GetMemberByUsernameResponse(); + return proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3144,42 +3805,53 @@ proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.deserializeBinary = fu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3188,81 +3860,85 @@ proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.serializeBin * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - member: (f = msg.getMember()) && models_member_pb.MemberModel.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + member: + (f = msg.getMember()) && + models_member_pb.MemberModel.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.GetMemberByUsernameResponse.Result} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result; - return proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result(); + return proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3271,37 +3947,43 @@ proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.deserializeBina * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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_pb.MemberModel(); + reader.readMessage( + value, + models_member_pb.MemberModel.deserializeBinaryFromReader + ); + msg.setMember(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_pb.MemberModel; - reader.readMessage(value,models_member_pb.MemberModel.deserializeBinaryFromReader); - msg.setMember(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.GetMemberByUsernameResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3310,189 +3992,203 @@ proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.seria * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMember(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_pb.MemberModel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMember(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_pb.MemberModel.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member.MemberModel member = 1; * @return {?proto.bet.beteran.member.MemberModel} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.getMember = function() { - return /** @type{?proto.bet.beteran.member.MemberModel} */ ( - jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.getMember = + function () { + return /** @type{?proto.bet.beteran.member.MemberModel} */ ( + jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1) + ); + }; /** * @param {?proto.bet.beteran.member.MemberModel|undefined} value * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.setMember = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.setMember = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result} returns this */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.clearMember = function() { - return this.setMember(undefined); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.clearMember = + function () { + return this.setMember(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.hasMember = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.hasMember = + 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.GetMemberByUsernameResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.GetMemberByUsernameResponse} returns this -*/ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse} returns this */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse} returns this -*/ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse} returns this */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.UpdateMemberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.UpdateMemberRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - siteId: jspb.Message.getFieldWithDefault(msg, 2, ""), - memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), - password: jspb.Message.getFieldWithDefault(msg, 4, ""), - mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, "") +proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.UpdateMemberRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberRequest.toObject( + opt_includeInstance, + this + ); + }; + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberRequest.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + siteId: jspb.Message.getFieldWithDefault(msg, 2, ""), + memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), + password: jspb.Message.getFieldWithDefault(msg, 4, ""), + mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.UpdateMemberRequest; - return proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.member.UpdateMemberRequest(); + return proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -3500,52 +4196,55 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinary = function(b * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSiteId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberLevelId(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPassword(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setMobilePhoneNumber(value); + break; + 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.setSiteId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setMemberLevelId(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setPassword(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setMobilePhoneNumber(value); - break; - 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.UpdateMemberRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3554,263 +4253,272 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.serializeBinary = fu * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeString( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString(2, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString(3, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString(4, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString(5, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setId = function ( + value +) { return jspb.Message.setProto3StringField(this, 1, value); }; - /** * optional string site_id = 2; * @return {string} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSiteId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSiteId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setSiteId = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setSiteId = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearSiteId = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearSiteId = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasSiteId = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasSiteId = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional string member_level_id = 3; * @return {string} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMemberLevelId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMemberLevelId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMemberLevelId = function(value) { - return jspb.Message.setField(this, 3, value); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMemberLevelId = + function (value) { + return jspb.Message.setField(this, 3, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMemberLevelId = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMemberLevelId = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMemberLevelId = function() { - return jspb.Message.getField(this, 3) != null; -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMemberLevelId = + function () { + return jspb.Message.getField(this, 3) != null; + }; /** * optional string password = 4; * @return {string} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setPassword = function(value) { - return jspb.Message.setField(this, 4, value); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setPassword = + function (value) { + return jspb.Message.setField(this, 4, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearPassword = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearPassword = + function () { + return jspb.Message.setField(this, 4, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasPassword = function() { - return jspb.Message.getField(this, 4) != null; -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasPassword = + function () { + return jspb.Message.getField(this, 4) != null; + }; /** * optional string mobile_phone_number = 5; * @return {string} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMobilePhoneNumber = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMobilePhoneNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMobilePhoneNumber = function(value) { - return jspb.Message.setField(this, 5, value); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMobilePhoneNumber = + function (value) { + return jspb.Message.setField(this, 5, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMobilePhoneNumber = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMobilePhoneNumber = + function () { + return jspb.Message.setField(this, 5, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber = function() { - return jspb.Message.getField(this, 5) != null; -}; - - - - - -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.UpdateMemberResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber = + function () { + return jspb.Message.getField(this, 5) != 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.UpdateMemberResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.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.UpdateMemberResponse} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.UpdateMemberResponse; - return proto.bet.beteran.c2se.member.UpdateMemberResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.UpdateMemberResponse(); + return proto.bet.beteran.c2se.member.UpdateMemberResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3819,42 +4527,53 @@ proto.bet.beteran.c2se.member.UpdateMemberResponse.deserializeBinary = function( * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.UpdateMemberResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3863,81 +4582,84 @@ proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.serializeBinary = f * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.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.UpdateMemberResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - member: (f = msg.getMember()) && models_member_pb.MemberModel.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.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.UpdateMemberResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + member: + (f = msg.getMember()) && + models_member_pb.MemberModel.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.UpdateMemberResponse.Result} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.UpdateMemberResponse.Result; - return proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.UpdateMemberResponse.Result(); + return proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3946,37 +4668,43 @@ proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.deserializeBinary = fu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse.Result} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.UpdateMemberResponse.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_pb.MemberModel(); + reader.readMessage( + value, + models_member_pb.MemberModel.deserializeBinaryFromReader + ); + msg.setMember(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_pb.MemberModel; - reader.readMessage(value,models_member_pb.MemberModel.deserializeBinaryFromReader); - msg.setMember(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.UpdateMemberResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3985,185 +4713,196 @@ proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.serializeBin * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMember(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_pb.MemberModel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMember(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_pb.MemberModel.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member.MemberModel member = 1; * @return {?proto.bet.beteran.member.MemberModel} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.getMember = function() { - return /** @type{?proto.bet.beteran.member.MemberModel} */ ( - jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.getMember = + function () { + return /** @type{?proto.bet.beteran.member.MemberModel} */ ( + jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1) + ); + }; /** * @param {?proto.bet.beteran.member.MemberModel|undefined} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.setMember = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.setMember = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse.Result} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.clearMember = function() { - return this.setMember(undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.clearMember = + function () { + return this.setMember(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.hasMember = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.hasMember = + 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.UpdateMemberResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberResponse} returns this -*/ -proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member.UpdateMemberResponse.Result} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member.UpdateMemberResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.UpdateMemberResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member.UpdateMemberResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse} returns this -*/ -proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberForStateRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.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.UpdateMemberForStateRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.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.UpdateMemberResponse.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.UpdateMemberForStateRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.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.UpdateMemberForStateRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.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.UpdateMemberForStateRequest} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.UpdateMemberForStateRequest; - return proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.UpdateMemberForStateRequest(); + return proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -4172,40 +4911,45 @@ proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.deserializeBinary = fu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateRequest} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.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.MemberState} */ ( + 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.MemberState} */ (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.UpdateMemberForStateRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -4214,116 +4958,125 @@ proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.serializeBin * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.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.UpdateMemberForStateRequest.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.UpdateMemberForStateRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional bet.beteran.member.MemberState state = 2; * @return {!proto.bet.beteran.member.MemberState} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.getState = function() { - return /** @type {!proto.bet.beteran.member.MemberState} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.getState = + function () { + return /** @type {!proto.bet.beteran.member.MemberState} */ ( + jspb.Message.getFieldWithDefault(this, 2, 0) + ); + }; /** * @param {!proto.bet.beteran.member.MemberState} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateRequest} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.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.UpdateMemberForStateResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.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.UpdateMemberForStateResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.UpdateMemberForStateResponse; - return proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.UpdateMemberForStateResponse(); + return proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -4332,42 +5085,53 @@ proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.deserializeBinary = f * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -4376,81 +5140,85 @@ proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.serializeBi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - member: (f = msg.getMember()) && models_member_pb.MemberModel.toObject(includeInstance, f) +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + member: + (f = msg.getMember()) && + models_member_pb.MemberModel.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.UpdateMemberForStateResponse.Result} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result; - return proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result(); + return proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -4459,37 +5227,43 @@ proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.deserializeBin * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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_pb.MemberModel(); + reader.readMessage( + value, + models_member_pb.MemberModel.deserializeBinaryFromReader + ); + msg.setMember(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_pb.MemberModel; - reader.readMessage(value,models_member_pb.MemberModel.deserializeBinaryFromReader); - msg.setMember(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.UpdateMemberForStateResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -4498,185 +5272,199 @@ proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.seri * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMember(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_pb.MemberModel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMember(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_pb.MemberModel.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member.MemberModel member = 1; * @return {?proto.bet.beteran.member.MemberModel} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.getMember = function() { - return /** @type{?proto.bet.beteran.member.MemberModel} */ ( - jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.getMember = + function () { + return /** @type{?proto.bet.beteran.member.MemberModel} */ ( + jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1) + ); + }; /** * @param {?proto.bet.beteran.member.MemberModel|undefined} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.setMember = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.setMember = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.clearMember = function() { - return this.setMember(undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.clearMember = + function () { + return this.setMember(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.hasMember = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.hasMember = + 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.UpdateMemberForStateResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.UpdateMemberForStateResponse} returns this -*/ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse} returns this -*/ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse} returns this */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.DeleteMemberRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.DeleteMemberRequest.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.DeleteMemberRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.DeleteMemberRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.DeleteMemberRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.DeleteMemberRequest.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.DeleteMemberRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.DeleteMemberRequest.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.DeleteMemberRequest} */ -proto.bet.beteran.c2se.member.DeleteMemberRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.member.DeleteMemberRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.DeleteMemberRequest; - return proto.bet.beteran.c2se.member.DeleteMemberRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.member.DeleteMemberRequest(); + return proto.bet.beteran.c2se.member.DeleteMemberRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -4684,36 +5472,39 @@ proto.bet.beteran.c2se.member.DeleteMemberRequest.deserializeBinary = function(b * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.DeleteMemberRequest} */ -proto.bet.beteran.c2se.member.DeleteMemberRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.DeleteMemberRequest.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.DeleteMemberRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.DeleteMemberRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.DeleteMemberRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.DeleteMemberRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -4722,91 +5513,104 @@ proto.bet.beteran.c2se.member.DeleteMemberRequest.prototype.serializeBinary = fu * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.DeleteMemberRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member.DeleteMemberRequest.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.DeleteMemberRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member.DeleteMemberRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member.DeleteMemberRequest} returns this */ -proto.bet.beteran.c2se.member.DeleteMemberRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.member.DeleteMemberRequest.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.DeleteMemberResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.Result.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.DeleteMemberResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.Result.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.DeleteMemberResponse} */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.DeleteMemberResponse; - return proto.bet.beteran.c2se.member.DeleteMemberResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.DeleteMemberResponse(); + return proto.bet.beteran.c2se.member.DeleteMemberResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -4815,42 +5619,53 @@ proto.bet.beteran.c2se.member.DeleteMemberResponse.deserializeBinary = function( * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.DeleteMemberResponse} */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.DeleteMemberResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.DeleteMemberResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -4859,81 +5674,80 @@ proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.serializeBinary = f * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.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.DeleteMemberResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - +proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.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.DeleteMemberResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.Result} */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member.DeleteMemberResponse.Result; - return proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member.DeleteMemberResponse.Result(); + return proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -4942,32 +5756,35 @@ proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.deserializeBinary = fu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member.DeleteMemberResponse.Result} */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -4976,83 +5793,89 @@ proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.prototype.serializeBin * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.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.DeleteMemberResponse} returns this -*/ -proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.DeleteMemberResponse} returns this */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member.DeleteMemberResponse.Result} */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member.DeleteMemberResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member.DeleteMemberResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member.DeleteMemberResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.DeleteMemberResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member.DeleteMemberResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member.DeleteMemberResponse} returns this -*/ -proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member.DeleteMemberResponse} returns this */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member.DeleteMemberResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; goog.object.extend(exports, proto.bet.beteran.c2se.member);