From 144e5a0ad80ee97771e92c623464d51b40772892 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Thu, 1 Sep 2022 16:48:30 +0000 Subject: [PATCH] models are modified --- .../modules/proto/c2se/api/betting_pb.d.ts | 4 + src/app/modules/proto/c2se/api/betting_pb.js | 39 +- src/app/modules/proto/c2se/api/game_pb.d.ts | 4 + src/app/modules/proto/c2se/api/game_pb.js | 39 +- src/app/modules/proto/c2se/api/vendor_pb.d.ts | 4 + src/app/modules/proto/c2se/api/vendor_pb.js | 39 +- src/app/modules/proto/c2se/bank_pb.d.ts | 425 +- src/app/modules/proto/c2se/bank_pb.js | 4312 ++++++++------- .../proto/c2se/member_bank_account_pb.d.ts | 4 + .../proto/c2se/member_bank_account_pb.js | 39 +- .../proto/c2se/member_bank_deposit_pb.d.ts | 4 + .../proto/c2se/member_bank_deposit_pb.js | 39 +- .../proto/c2se/member_bank_withdraw_pb.d.ts | 4 + .../proto/c2se/member_bank_withdraw_pb.js | 39 +- .../modules/proto/c2se/member_class_pb.d.ts | 422 +- src/app/modules/proto/c2se/member_class_pb.js | 4530 ++++++++-------- .../proto/c2se/member_game_setting_pb.d.ts | 4 + .../proto/c2se/member_game_setting_pb.js | 39 +- .../modules/proto/c2se/member_level_pb.d.ts | 418 +- src/app/modules/proto/c2se/member_level_pb.js | 4493 +++++++++------- src/app/modules/proto/c2se/member_pb.d.ts | 4 + src/app/modules/proto/c2se/member_pb.js | 39 +- .../proto/c2se/member_referrer_pb.d.ts | 4 + .../modules/proto/c2se/member_referrer_pb.js | 39 +- .../c2se/member_settlement_setting_pb.d.ts | 4 + .../c2se/member_settlement_setting_pb.js | 39 +- src/app/modules/proto/c2se/site_pb.d.ts | 437 +- src/app/modules/proto/c2se/site_pb.js | 4622 +++++++++-------- 28 files changed, 11398 insertions(+), 8691 deletions(-) diff --git a/src/app/modules/proto/c2se/api/betting_pb.d.ts b/src/app/modules/proto/c2se/api/betting_pb.d.ts index f449b22..19ab3da 100644 --- a/src/app/modules/proto/c2se/api/betting_pb.d.ts +++ b/src/app/modules/proto/c2se/api/betting_pb.d.ts @@ -310,6 +310,9 @@ export namespace ListBettingHistoryResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearBettingHistoryList(): void; getBettingHistoryList(): Array; setBettingHistoryList( @@ -340,6 +343,7 @@ export namespace ListBettingHistoryResponse { export namespace Result { export type AsObject = { + totalCount: number; bettingHistoryList: Array; }; } diff --git a/src/app/modules/proto/c2se/api/betting_pb.js b/src/app/modules/proto/c2se/api/betting_pb.js index 58b0957..2bfb9ee 100644 --- a/src/app/modules/proto/c2se/api/betting_pb.js +++ b/src/app/modules/proto/c2se/api/betting_pb.js @@ -2270,7 +2270,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.serializeBinaryToW * @const */ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.repeatedFields_ = - [1]; + [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -2306,6 +2306,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { function (includeInstance, msg) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), bettingHistoryList: jspb.Message.toObjectList( msg.getBettingHistoryList(), models_api_betting_pb.BettingHistoryModel.toObject, @@ -2352,6 +2353,10 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.deserialize var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_api_betting_pb.BettingHistoryModel(); reader.readMessage( value, @@ -2392,10 +2397,14 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.prototype.s proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getBettingHistoryList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_api_betting_pb.BettingHistoryModel.serializeBinaryToWriter ); @@ -2403,7 +2412,25 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.serializeBi }; /** - * repeated bet.beteran.api.betting.BettingHistoryModel betting_history = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result} returns this + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.api.betting.BettingHistoryModel betting_history = 2; * @return {!Array} */ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.prototype.getBettingHistoryList = @@ -2412,7 +2439,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.prototype.g jspb.Message.getRepeatedWrapperField( this, models_api_betting_pb.BettingHistoryModel, - 1 + 2 ) ); }; @@ -2423,7 +2450,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.prototype.g */ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.prototype.setBettingHistoryList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -2435,7 +2462,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryResponse.Result.prototype.a function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.api.betting.BettingHistoryModel, opt_index diff --git a/src/app/modules/proto/c2se/api/game_pb.d.ts b/src/app/modules/proto/c2se/api/game_pb.d.ts index 3400f2f..76983e0 100644 --- a/src/app/modules/proto/c2se/api/game_pb.d.ts +++ b/src/app/modules/proto/c2se/api/game_pb.d.ts @@ -148,6 +148,9 @@ export namespace ListGamesResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearGamesList(): void; getGamesList(): Array; setGamesList(value: Array): void; @@ -176,6 +179,7 @@ export namespace ListGamesResponse { export namespace Result { export type AsObject = { + totalCount: number; gamesList: Array; }; } diff --git a/src/app/modules/proto/c2se/api/game_pb.js b/src/app/modules/proto/c2se/api/game_pb.js index 916f515..ad1414a 100644 --- a/src/app/modules/proto/c2se/api/game_pb.js +++ b/src/app/modules/proto/c2se/api/game_pb.js @@ -1046,7 +1046,7 @@ proto.bet.beteran.c2se.api.game.ListGamesResponse.serializeBinaryToWriter = * @private {!Array} * @const */ -proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.repeatedFields_ = [1]; +proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -1084,6 +1084,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { ) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), gamesList: jspb.Message.toObjectList( msg.getGamesList(), models_api_game_pb.Game.toObject, @@ -1129,6 +1130,10 @@ proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.deserializeBinaryFromRe var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_api_game_pb.Game(); reader.readMessage( value, @@ -1168,10 +1173,14 @@ proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.prototype.serializeBina proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getGamesList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_api_game_pb.Game.serializeBinaryToWriter ); @@ -1179,13 +1188,31 @@ proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.serializeBinaryToWriter }; /** - * repeated bet.beteran.api.game.Game games = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.api.game.ListGamesResponse.Result} returns this + */ +proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.api.game.Game games = 2; * @return {!Array} */ proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.prototype.getGamesList = function () { return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_api_game_pb.Game, 1) + jspb.Message.getRepeatedWrapperField(this, models_api_game_pb.Game, 2) ); }; @@ -1195,7 +1222,7 @@ proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.prototype.getGamesList */ proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.prototype.setGamesList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -1207,7 +1234,7 @@ proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.prototype.addGames = function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.api.game.Game, opt_index diff --git a/src/app/modules/proto/c2se/api/vendor_pb.d.ts b/src/app/modules/proto/c2se/api/vendor_pb.d.ts index 51eaa13..7d47d5c 100644 --- a/src/app/modules/proto/c2se/api/vendor_pb.d.ts +++ b/src/app/modules/proto/c2se/api/vendor_pb.d.ts @@ -154,6 +154,9 @@ export namespace ListVendorsResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearVendorsList(): void; getVendorsList(): Array; setVendorsList(value: Array): void; @@ -182,6 +185,7 @@ export namespace ListVendorsResponse { export namespace Result { export type AsObject = { + totalCount: number; vendorsList: Array; }; } diff --git a/src/app/modules/proto/c2se/api/vendor_pb.js b/src/app/modules/proto/c2se/api/vendor_pb.js index ccfed2d..4866a27 100644 --- a/src/app/modules/proto/c2se/api/vendor_pb.js +++ b/src/app/modules/proto/c2se/api/vendor_pb.js @@ -1011,7 +1011,7 @@ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.serializeBinaryToWriter = * @const */ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.repeatedFields_ = [ - 1, + 2, ]; if (jspb.Message.GENERATE_TO_OBJECT) { @@ -1048,6 +1048,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { function (includeInstance, msg) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), vendorsList: jspb.Message.toObjectList( msg.getVendorsList(), models_api_vendor_pb.Vendor.toObject, @@ -1094,6 +1095,10 @@ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.deserializeBinaryFr var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_api_vendor_pb.Vendor(); reader.readMessage( value, @@ -1133,10 +1138,14 @@ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.prototype.serialize proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getVendorsList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_api_vendor_pb.Vendor.serializeBinaryToWriter ); @@ -1144,13 +1153,31 @@ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.serializeBinaryToWr }; /** - * repeated bet.beteran.api.vendor.Vendor vendors = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result} returns this + */ +proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.api.vendor.Vendor vendors = 2; * @return {!Array} */ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.prototype.getVendorsList = function () { return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_api_vendor_pb.Vendor, 1) + jspb.Message.getRepeatedWrapperField(this, models_api_vendor_pb.Vendor, 2) ); }; @@ -1160,7 +1187,7 @@ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.prototype.getVendor */ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.prototype.setVendorsList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -1172,7 +1199,7 @@ proto.bet.beteran.c2se.api.vendor.ListVendorsResponse.Result.prototype.addVendor function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.api.vendor.Vendor, opt_index diff --git a/src/app/modules/proto/c2se/bank_pb.d.ts b/src/app/modules/proto/c2se/bank_pb.d.ts index 6f24697..31e7637 100644 --- a/src/app/modules/proto/c2se/bank_pb.d.ts +++ b/src/app/modules/proto/c2se/bank_pb.d.ts @@ -1,10 +1,10 @@ // package: bet.beteran.c2se.bank // file: c2se/bank.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_bank_pb from "../models/bank_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_bank_pb from '../models/bank_pb'; export class CreateBankRequest extends jspb.Message { getName(): string; @@ -26,22 +26,33 @@ export class CreateBankRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateBankRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateBankRequest): CreateBankRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateBankRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateBankRequest + ): CreateBankRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateBankRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateBankRequest; - static deserializeBinaryFromReader(message: CreateBankRequest, reader: jspb.BinaryReader): CreateBankRequest; + static deserializeBinaryFromReader( + message: CreateBankRequest, + reader: jspb.BinaryReader + ): CreateBankRequest; } export namespace CreateBankRequest { export type AsObject = { - name: string, - sortOrder: number, - show: boolean, - canUse: boolean, - memo: string, - } + name: string; + sortOrder: number; + show: boolean; + canUse: boolean; + memo: string; + }; } export class CreateBankResponse extends jspb.Message { @@ -57,19 +68,30 @@ export class CreateBankResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateBankResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateBankResponse): CreateBankResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateBankResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateBankResponse + ): CreateBankResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateBankResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateBankResponse; - static deserializeBinaryFromReader(message: CreateBankResponse, reader: jspb.BinaryReader): CreateBankResponse; + static deserializeBinaryFromReader( + message: CreateBankResponse, + reader: jspb.BinaryReader + ): CreateBankResponse; } export namespace CreateBankResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: CreateBankResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateBankResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasBank(): boolean; @@ -80,17 +102,25 @@ export namespace CreateBankResponse { 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 = { - bank?: models_bank_pb.Bank.AsObject, - } + bank?: models_bank_pb.Bank.AsObject; + }; } } @@ -103,7 +133,10 @@ export class ListBanksRequest extends jspb.Message { clearSortsList(): void; getSortsList(): Array; setSortsList(value: Array): void; - addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort; + addSorts( + value?: protobuf_pagination_pb.Sort, + index?: number + ): protobuf_pagination_pb.Sort; hasSearch(): boolean; clearSearch(): void; @@ -112,20 +145,31 @@ export class ListBanksRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListBanksRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListBanksRequest): ListBanksRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListBanksRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListBanksRequest + ): ListBanksRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListBanksRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListBanksRequest; - static deserializeBinaryFromReader(message: ListBanksRequest, reader: jspb.BinaryReader): ListBanksRequest; + static deserializeBinaryFromReader( + message: ListBanksRequest, + reader: jspb.BinaryReader + ): ListBanksRequest; } export namespace ListBanksRequest { export type AsObject = { - pagination?: protobuf_pagination_pb.Pagination.AsObject, - sortsList: Array, - search?: ListBanksRequest.Search.AsObject, - } + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListBanksRequest.Search.AsObject; + }; export class Search extends jspb.Message { hasNameLike(): boolean; @@ -151,20 +195,28 @@ export namespace ListBanksRequest { 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 = { - nameLike: string, - show: boolean, - canUse: boolean, - memoLike: string, - } + nameLike: string; + show: boolean; + canUse: boolean; + memoLike: string; + }; } } @@ -181,21 +233,35 @@ export class ListBanksResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListBanksResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListBanksResponse): ListBanksResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListBanksResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListBanksResponse + ): ListBanksResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListBanksResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListBanksResponse; - static deserializeBinaryFromReader(message: ListBanksResponse, reader: jspb.BinaryReader): ListBanksResponse; + static deserializeBinaryFromReader( + message: ListBanksResponse, + reader: jspb.BinaryReader + ): ListBanksResponse; } export namespace ListBanksResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: ListBanksResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListBanksResponse.Result.AsObject; + }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearBanksList(): void; getBanksList(): Array; setBanksList(value: Array): void; @@ -204,17 +270,26 @@ export namespace ListBanksResponse { 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 = { - banksList: Array, - } + totalCount: number; + banksList: Array; + }; } } @@ -224,18 +299,29 @@ export class GetBankRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetBankRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetBankRequest): GetBankRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetBankRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetBankRequest + ): GetBankRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetBankRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetBankRequest; - static deserializeBinaryFromReader(message: GetBankRequest, reader: jspb.BinaryReader): GetBankRequest; + static deserializeBinaryFromReader( + message: GetBankRequest, + reader: jspb.BinaryReader + ): GetBankRequest; } export namespace GetBankRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class GetBankResponse extends jspb.Message { @@ -251,19 +337,30 @@ export class GetBankResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetBankResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetBankResponse): GetBankResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetBankResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetBankResponse + ): GetBankResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetBankResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetBankResponse; - static deserializeBinaryFromReader(message: GetBankResponse, reader: jspb.BinaryReader): GetBankResponse; + static deserializeBinaryFromReader( + message: GetBankResponse, + reader: jspb.BinaryReader + ): GetBankResponse; } export namespace GetBankResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetBankResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetBankResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasBank(): boolean; @@ -274,17 +371,25 @@ export namespace GetBankResponse { 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 = { - bank?: models_bank_pb.Bank.AsObject, - } + bank?: models_bank_pb.Bank.AsObject; + }; } } @@ -311,23 +416,34 @@ export class UpdateBankRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateBankRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateBankRequest): UpdateBankRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateBankRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateBankRequest + ): UpdateBankRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateBankRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateBankRequest; - static deserializeBinaryFromReader(message: UpdateBankRequest, reader: jspb.BinaryReader): UpdateBankRequest; + static deserializeBinaryFromReader( + message: UpdateBankRequest, + reader: jspb.BinaryReader + ): UpdateBankRequest; } export namespace UpdateBankRequest { export type AsObject = { - id: string, - name: string, - sortOrder: number, - show: boolean, - canUse: boolean, - memo: string, - } + id: string; + name: string; + sortOrder: number; + show: boolean; + canUse: boolean; + memo: string; + }; } export class UpdateBankResponse extends jspb.Message { @@ -343,19 +459,30 @@ export class UpdateBankResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateBankResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateBankResponse): UpdateBankResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateBankResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateBankResponse + ): UpdateBankResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateBankResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateBankResponse; - static deserializeBinaryFromReader(message: UpdateBankResponse, reader: jspb.BinaryReader): UpdateBankResponse; + static deserializeBinaryFromReader( + message: UpdateBankResponse, + reader: jspb.BinaryReader + ): UpdateBankResponse; } export namespace UpdateBankResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateBankResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateBankResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasBank(): boolean; @@ -366,17 +493,25 @@ export namespace UpdateBankResponse { 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 = { - bank?: models_bank_pb.Bank.AsObject, - } + bank?: models_bank_pb.Bank.AsObject; + }; } } @@ -386,18 +521,29 @@ export class DeleteBankRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteBankRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteBankRequest): DeleteBankRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteBankRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteBankRequest + ): DeleteBankRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteBankRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteBankRequest; - static deserializeBinaryFromReader(message: DeleteBankRequest, reader: jspb.BinaryReader): DeleteBankRequest; + static deserializeBinaryFromReader( + message: DeleteBankRequest, + reader: jspb.BinaryReader + ): DeleteBankRequest; } export namespace DeleteBankRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class DeleteBankResponse extends jspb.Message { @@ -413,34 +559,51 @@ export class DeleteBankResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteBankResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteBankResponse): DeleteBankResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteBankResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteBankResponse + ): DeleteBankResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteBankResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteBankResponse; - static deserializeBinaryFromReader(message: DeleteBankResponse, reader: jspb.BinaryReader): DeleteBankResponse; + static deserializeBinaryFromReader( + message: DeleteBankResponse, + reader: jspb.BinaryReader + ): DeleteBankResponse; } export namespace DeleteBankResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: DeleteBankResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteBankResponse.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/bank_pb.js b/src/app/modules/proto/c2se/bank_pb.js index c02730a..2ff9087 100644 --- a/src/app/modules/proto/c2se/bank_pb.js +++ b/src/app/modules/proto/c2se/bank_pb.js @@ -11,32 +11,86 @@ /* 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_bank_pb = require('../models/bank_pb.js'); +var models_bank_pb = require("../models/bank_pb.js"); goog.object.extend(proto, models_bank_pb); -goog.exportSymbol('proto.bet.beteran.c2se.bank.CreateBankRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.CreateBankResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.CreateBankResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.DeleteBankRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.DeleteBankResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.DeleteBankResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.GetBankRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.GetBankResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.GetBankResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.ListBanksRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.ListBanksRequest.Search', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.ListBanksResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.ListBanksResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.UpdateBankRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.UpdateBankResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.bank.UpdateBankResponse.Result', null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.CreateBankRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.CreateBankResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.CreateBankResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.DeleteBankRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.DeleteBankResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.DeleteBankResponse.Result", + null, + global +); +goog.exportSymbol("proto.bet.beteran.c2se.bank.GetBankRequest", null, global); +goog.exportSymbol("proto.bet.beteran.c2se.bank.GetBankResponse", null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.GetBankResponse.Result", + null, + global +); +goog.exportSymbol("proto.bet.beteran.c2se.bank.ListBanksRequest", null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.ListBanksRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.ListBanksResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.ListBanksResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.UpdateBankRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.UpdateBankResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.bank.UpdateBankResponse.Result", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -47,7 +101,7 @@ goog.exportSymbol('proto.bet.beteran.c2se.bank.UpdateBankResponse.Result', null, * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.CreateBankRequest = function(opt_data) { +proto.bet.beteran.c2se.bank.CreateBankRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.CreateBankRequest, jspb.Message); @@ -56,7 +110,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.CreateBankRequest.displayName = 'proto.bet.beteran.c2se.bank.CreateBankRequest'; + proto.bet.beteran.c2se.bank.CreateBankRequest.displayName = + "proto.bet.beteran.c2se.bank.CreateBankRequest"; } /** * Generated by JsPbCodeGenerator. @@ -68,7 +123,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.CreateBankResponse = function(opt_data) { +proto.bet.beteran.c2se.bank.CreateBankResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.CreateBankResponse, jspb.Message); @@ -77,7 +132,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.CreateBankResponse.displayName = 'proto.bet.beteran.c2se.bank.CreateBankResponse'; + proto.bet.beteran.c2se.bank.CreateBankResponse.displayName = + "proto.bet.beteran.c2se.bank.CreateBankResponse"; } /** * Generated by JsPbCodeGenerator. @@ -89,16 +145,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.bank.CreateBankResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.bank.CreateBankResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.bank.CreateBankResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.bank.CreateBankResponse.Result.displayName = 'proto.bet.beteran.c2se.bank.CreateBankResponse.Result'; + proto.bet.beteran.c2se.bank.CreateBankResponse.Result.displayName = + "proto.bet.beteran.c2se.bank.CreateBankResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -110,8 +170,15 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.ListBanksRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.bank.ListBanksRequest.repeatedFields_, null); +proto.bet.beteran.c2se.bank.ListBanksRequest = function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.bank.ListBanksRequest.repeatedFields_, + null + ); }; goog.inherits(proto.bet.beteran.c2se.bank.ListBanksRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { @@ -119,7 +186,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.ListBanksRequest.displayName = 'proto.bet.beteran.c2se.bank.ListBanksRequest'; + proto.bet.beteran.c2se.bank.ListBanksRequest.displayName = + "proto.bet.beteran.c2se.bank.ListBanksRequest"; } /** * Generated by JsPbCodeGenerator. @@ -131,16 +199,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search = function(opt_data) { +proto.bet.beteran.c2se.bank.ListBanksRequest.Search = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.bank.ListBanksRequest.Search, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.bank.ListBanksRequest.Search, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.bank.ListBanksRequest.Search.displayName = 'proto.bet.beteran.c2se.bank.ListBanksRequest.Search'; + proto.bet.beteran.c2se.bank.ListBanksRequest.Search.displayName = + "proto.bet.beteran.c2se.bank.ListBanksRequest.Search"; } /** * Generated by JsPbCodeGenerator. @@ -152,7 +224,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.ListBanksResponse = function(opt_data) { +proto.bet.beteran.c2se.bank.ListBanksResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.ListBanksResponse, jspb.Message); @@ -161,7 +233,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.ListBanksResponse.displayName = 'proto.bet.beteran.c2se.bank.ListBanksResponse'; + proto.bet.beteran.c2se.bank.ListBanksResponse.displayName = + "proto.bet.beteran.c2se.bank.ListBanksResponse"; } /** * Generated by JsPbCodeGenerator. @@ -173,16 +246,27 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.bank.ListBanksResponse.Result.repeatedFields_, null); +proto.bet.beteran.c2se.bank.ListBanksResponse.Result = function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.bank.ListBanksResponse.Result.repeatedFields_, + null + ); }; -goog.inherits(proto.bet.beteran.c2se.bank.ListBanksResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.bank.ListBanksResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.bank.ListBanksResponse.Result.displayName = 'proto.bet.beteran.c2se.bank.ListBanksResponse.Result'; + proto.bet.beteran.c2se.bank.ListBanksResponse.Result.displayName = + "proto.bet.beteran.c2se.bank.ListBanksResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -194,7 +278,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.GetBankRequest = function(opt_data) { +proto.bet.beteran.c2se.bank.GetBankRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.GetBankRequest, jspb.Message); @@ -203,7 +287,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.GetBankRequest.displayName = 'proto.bet.beteran.c2se.bank.GetBankRequest'; + proto.bet.beteran.c2se.bank.GetBankRequest.displayName = + "proto.bet.beteran.c2se.bank.GetBankRequest"; } /** * Generated by JsPbCodeGenerator. @@ -215,7 +300,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.GetBankResponse = function(opt_data) { +proto.bet.beteran.c2se.bank.GetBankResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.GetBankResponse, jspb.Message); @@ -224,7 +309,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.GetBankResponse.displayName = 'proto.bet.beteran.c2se.bank.GetBankResponse'; + proto.bet.beteran.c2se.bank.GetBankResponse.displayName = + "proto.bet.beteran.c2se.bank.GetBankResponse"; } /** * Generated by JsPbCodeGenerator. @@ -236,7 +322,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.GetBankResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.bank.GetBankResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.GetBankResponse.Result, jspb.Message); @@ -245,7 +331,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.GetBankResponse.Result.displayName = 'proto.bet.beteran.c2se.bank.GetBankResponse.Result'; + proto.bet.beteran.c2se.bank.GetBankResponse.Result.displayName = + "proto.bet.beteran.c2se.bank.GetBankResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -257,7 +344,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.UpdateBankRequest = function(opt_data) { +proto.bet.beteran.c2se.bank.UpdateBankRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.UpdateBankRequest, jspb.Message); @@ -266,7 +353,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.UpdateBankRequest.displayName = 'proto.bet.beteran.c2se.bank.UpdateBankRequest'; + proto.bet.beteran.c2se.bank.UpdateBankRequest.displayName = + "proto.bet.beteran.c2se.bank.UpdateBankRequest"; } /** * Generated by JsPbCodeGenerator. @@ -278,7 +366,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.UpdateBankResponse = function(opt_data) { +proto.bet.beteran.c2se.bank.UpdateBankResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.UpdateBankResponse, jspb.Message); @@ -287,7 +375,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.UpdateBankResponse.displayName = 'proto.bet.beteran.c2se.bank.UpdateBankResponse'; + proto.bet.beteran.c2se.bank.UpdateBankResponse.displayName = + "proto.bet.beteran.c2se.bank.UpdateBankResponse"; } /** * Generated by JsPbCodeGenerator. @@ -299,16 +388,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.bank.UpdateBankResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.bank.UpdateBankResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.displayName = 'proto.bet.beteran.c2se.bank.UpdateBankResponse.Result'; + proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.displayName = + "proto.bet.beteran.c2se.bank.UpdateBankResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -320,7 +413,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.DeleteBankRequest = function(opt_data) { +proto.bet.beteran.c2se.bank.DeleteBankRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.DeleteBankRequest, jspb.Message); @@ -329,7 +422,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.DeleteBankRequest.displayName = 'proto.bet.beteran.c2se.bank.DeleteBankRequest'; + proto.bet.beteran.c2se.bank.DeleteBankRequest.displayName = + "proto.bet.beteran.c2se.bank.DeleteBankRequest"; } /** * Generated by JsPbCodeGenerator. @@ -341,7 +435,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.DeleteBankResponse = function(opt_data) { +proto.bet.beteran.c2se.bank.DeleteBankResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.bank.DeleteBankResponse, jspb.Message); @@ -350,7 +444,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.bank.DeleteBankResponse.displayName = 'proto.bet.beteran.c2se.bank.DeleteBankResponse'; + proto.bet.beteran.c2se.bank.DeleteBankResponse.displayName = + "proto.bet.beteran.c2se.bank.DeleteBankResponse"; } /** * Generated by JsPbCodeGenerator. @@ -362,76 +457,89 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.bank.DeleteBankResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.bank.DeleteBankResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.bank.DeleteBankResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.displayName = 'proto.bet.beteran.c2se.bank.DeleteBankResponse.Result'; + proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.displayName = + "proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.CreateBankRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.CreateBankRequest.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.bank.CreateBankRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.CreateBankRequest.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - sortOrder: jspb.Message.getFieldWithDefault(msg, 2, 0), - show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - canUse: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - memo: jspb.Message.getFieldWithDefault(msg, 5, "") + /** + * 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.bank.CreateBankRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.CreateBankRequest.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.bank.CreateBankRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.CreateBankRequest.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + sortOrder: jspb.Message.getFieldWithDefault(msg, 2, 0), + show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + canUse: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + memo: 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.bank.CreateBankRequest} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.CreateBankRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.CreateBankRequest; - return proto.bet.beteran.c2se.bank.CreateBankRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.CreateBankRequest(); + return proto.bet.beteran.c2se.bank.CreateBankRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -439,52 +547,55 @@ proto.bet.beteran.c2se.bank.CreateBankRequest.deserializeBinary = function(bytes * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.CreateBankRequest} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.CreateBankRequest.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setSortOrder(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanUse(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setSortOrder(value); - break; - case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanUse(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.CreateBankRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.CreateBankRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -493,210 +604,214 @@ proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.serializeBinary = functi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.CreateBankRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getSortOrder(); - if (f !== 0) { - writer.writeUint32( - 2, - f - ); - } - f = message.getShow(); - if (f) { - writer.writeBool( - 3, - f - ); - } - f = message.getCanUse(); - if (f) { - writer.writeBool( - 4, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeString( - 5, - f - ); - } -}; - +proto.bet.beteran.c2se.bank.CreateBankRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getSortOrder(); + if (f !== 0) { + writer.writeUint32(2, f); + } + f = message.getShow(); + if (f) { + writer.writeBool(3, f); + } + f = message.getCanUse(); + if (f) { + writer.writeBool(4, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString(5, f); + } + }; /** * optional string name = 1; * @return {string} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getName = function() { +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getName = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.CreateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setName = function(value) { +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setName = function ( + value +) { return jspb.Message.setProto3StringField(this, 1, value); }; - /** * optional uint32 sort_order = 2; * @return {number} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getSortOrder = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getSortOrder = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.bank.CreateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setSortOrder = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); -}; - +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setSortOrder = + function (value) { + return jspb.Message.setProto3IntField(this, 2, value); + }; /** * optional bool show = 3; * @return {boolean} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getShow = function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); }; - /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.bank.CreateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setShow = function(value) { +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setShow = function ( + value +) { return jspb.Message.setProto3BooleanField(this, 3, value); }; - /** * optional bool can_use = 4; * @return {boolean} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getCanUse = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); -}; - +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getCanUse = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.bank.CreateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setCanUse = function(value) { +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setCanUse = function ( + value +) { return jspb.Message.setProto3BooleanField(this, 4, value); }; - /** * optional string memo = 5; * @return {string} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getMemo = function() { +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.getMemo = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.CreateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setMemo = function(value) { +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.setMemo = function ( + value +) { return jspb.Message.setField(this, 5, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.bank.CreateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 5, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.hasMemo = function() { +proto.bet.beteran.c2se.bank.CreateBankRequest.prototype.hasMemo = function () { return jspb.Message.getField(this, 5) != null; }; - - - - if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.Result.toObject(includeInstance, f) + /** + * 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.bank.CreateBankResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.CreateBankResponse.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.bank.CreateBankResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.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.bank.CreateBankResponse} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.CreateBankResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.CreateBankResponse; - return proto.bet.beteran.c2se.bank.CreateBankResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.CreateBankResponse(); + return proto.bet.beteran.c2se.bank.CreateBankResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -704,42 +819,53 @@ proto.bet.beteran.c2se.bank.CreateBankResponse.deserializeBinary = function(byte * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.CreateBankResponse} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.CreateBankResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.CreateBankResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -748,81 +874,86 @@ proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.serializeBinary = funct * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.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.bank.CreateBankResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - bank: (f = msg.getBank()) && models_bank_pb.Bank.toObject(includeInstance, f) +proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.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.bank.CreateBankResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.CreateBankResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + bank: + (f = msg.getBank()) && + models_bank_pb.Bank.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.bank.CreateBankResponse.Result} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.CreateBankResponse.Result; - return proto.bet.beteran.c2se.bank.CreateBankResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.bank.CreateBankResponse.Result(); + return proto.bet.beteran.c2se.bank.CreateBankResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -831,37 +962,43 @@ proto.bet.beteran.c2se.bank.CreateBankResponse.Result.deserializeBinary = functi * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.CreateBankResponse.Result} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.CreateBankResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_bank_pb.Bank(); + reader.readMessage( + value, + models_bank_pb.Bank.deserializeBinaryFromReader + ); + msg.setBank(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_bank_pb.Bank; - reader.readMessage(value,models_bank_pb.Bank.deserializeBinaryFromReader); - msg.setBank(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.bank.CreateBankResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.CreateBankResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.CreateBankResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -870,130 +1007,134 @@ proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.serializeBinary * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getBank(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_bank_pb.Bank.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getBank(); + if (f != null) { + writer.writeMessage(1, f, models_bank_pb.Bank.serializeBinaryToWriter); + } + }; /** * optional bet.beteran.bank.Bank bank = 1; * @return {?proto.bet.beteran.bank.Bank} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.getBank = function() { - return /** @type{?proto.bet.beteran.bank.Bank} */ ( - jspb.Message.getWrapperField(this, models_bank_pb.Bank, 1)); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.getBank = + function () { + return /** @type{?proto.bet.beteran.bank.Bank} */ ( + jspb.Message.getWrapperField(this, models_bank_pb.Bank, 1) + ); + }; /** * @param {?proto.bet.beteran.bank.Bank|undefined} value * @return {!proto.bet.beteran.c2se.bank.CreateBankResponse.Result} returns this -*/ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.setBank = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.setBank = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.CreateBankResponse.Result} returns this */ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.clearBank = function() { - return this.setBank(undefined); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.clearBank = + function () { + return this.setBank(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.hasBank = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.Result.prototype.hasBank = + 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.bank.CreateBankResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.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.bank.CreateBankResponse} returns this -*/ -proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.CreateBankResponse} returns this */ -proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.bank.CreateBankResponse.Result} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.bank.CreateBankResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.bank.CreateBankResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.bank.CreateBankResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.bank.CreateBankResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.bank.CreateBankResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.bank.CreateBankResponse} returns this -*/ -proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.CreateBankResponse} returns this */ -proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * List of repeated fields within this message type. @@ -1002,63 +1143,82 @@ proto.bet.beteran.c2se.bank.CreateBankResponse.prototype.hasResult = function() */ proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.Search.toObject(includeInstance, f) + /** + * 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.bank.ListBanksRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.ListBanksRequest.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.bank.ListBanksRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.Search.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.bank.ListBanksRequest} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.ListBanksRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.ListBanksRequest; - return proto.bet.beteran.c2se.bank.ListBanksRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.ListBanksRequest(); + return proto.bet.beteran.c2se.bank.ListBanksRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -1066,47 +1226,60 @@ proto.bet.beteran.c2se.bank.ListBanksRequest.deserializeBinary = function(bytes) * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.Search; - reader.readMessage(value,proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.ListBanksRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.ListBanksRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1115,92 +1288,99 @@ proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.serializeBinary = functio * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.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.bank.ListBanksRequest.Search.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.Search} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.toObject = function(includeInstance, msg) { - var f, obj = { - nameLike: jspb.Message.getFieldWithDefault(msg, 1, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - canUse: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - memoLike: jspb.Message.getFieldWithDefault(msg, 4, "") +proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.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.bank.ListBanksRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.ListBanksRequest.Search.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + nameLike: jspb.Message.getFieldWithDefault(msg, 1, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + canUse: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + memoLike: jspb.Message.getFieldWithDefault(msg, 4, ""), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.ListBanksRequest.Search; - return proto.bet.beteran.c2se.bank.ListBanksRequest.Search.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.bank.ListBanksRequest.Search(); + return proto.bet.beteran.c2se.bank.ListBanksRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1209,48 +1389,51 @@ proto.bet.beteran.c2se.bank.ListBanksRequest.Search.deserializeBinary = function * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.ListBanksRequest.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.setNameLike(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanUse(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setMemoLike(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setNameLike(value); - break; - case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(value); - break; - case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanUse(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setMemoLike(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.ListBanksRequest.Search.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.ListBanksRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1259,351 +1442,377 @@ proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.serializeBinary = * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.ListBanksRequest.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 {boolean} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeBool( - 2, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeBool( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeString( - 4, - f - ); - } -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.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 {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool(2, f); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool(3, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString(4, f); + } + }; /** * optional string name_like = 1; * @return {string} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.getNameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.getNameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.setNameLike = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.setNameLike = + function (value) { + return jspb.Message.setField(this, 1, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.clearNameLike = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.clearNameLike = + function () { + return jspb.Message.setField(this, 1, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.hasNameLike = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.hasNameLike = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional bool show = 2; * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.getShow = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.setShow = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.setShow = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.clearShow = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.clearShow = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.hasShow = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.hasShow = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional bool can_use = 3; * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.getCanUse = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.getCanUse = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.setCanUse = function(value) { - return jspb.Message.setField(this, 3, value); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.setCanUse = + function (value) { + return jspb.Message.setField(this, 3, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.clearCanUse = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.clearCanUse = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.hasCanUse = function() { - return jspb.Message.getField(this, 3) != null; -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.hasCanUse = + function () { + return jspb.Message.getField(this, 3) != null; + }; /** * optional string memo_like = 4; * @return {string} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.getMemoLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.getMemoLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.setMemoLike = function(value) { - return jspb.Message.setField(this, 4, value); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.setMemoLike = + function (value) { + return jspb.Message.setField(this, 4, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest.Search} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.clearMemoLike = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.clearMemoLike = + function () { + return jspb.Message.setField(this, 4, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.hasMemoLike = function() { - return jspb.Message.getField(this, 4) != null; -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.Search.prototype.hasMemoLike = + function () { + return jspb.Message.getField(this, 4) != null; + }; /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.getPagination = function() { - return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( - jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1)); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest} returns this -*/ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.setPagination = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.setPagination = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.clearPagination = function() { - return this.setPagination(undefined); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.hasPagination = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.hasPagination = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * repeated bet.protobuf.pagination.Sort sorts = 2; * @return {!Array} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.getSortsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.getSortsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest} returns this -*/ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.setSortsList = function(value) { + */ +proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksRequest.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.bank.ListBanksRequest.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.bank.ListBanksRequest} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.clearSortsList = function() { - return this.setSortsList([]); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.bank.ListBanksRequest.Search} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.getSearch = function() { +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.getSearch = function () { return /** @type{?proto.bet.beteran.c2se.bank.ListBanksRequest.Search} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.bank.ListBanksRequest.Search, 3)); + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.bank.ListBanksRequest.Search, + 3 + ) + ); }; - /** * @param {?proto.bet.beteran.c2se.bank.ListBanksRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest} returns this -*/ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.setSearch = function(value) { + */ +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.setSearch = function ( + value +) { return jspb.Message.setWrapperField(this, 3, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.ListBanksRequest} returns this */ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.clearSearch = function() { - return this.setSearch(undefined); -}; - +proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksRequest.prototype.hasSearch = function() { +proto.bet.beteran.c2se.bank.ListBanksRequest.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.bank.ListBanksResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.Result.toObject(includeInstance, f) + /** + * 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.bank.ListBanksResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.ListBanksResponse.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.bank.ListBanksResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.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.bank.ListBanksResponse} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.ListBanksResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.ListBanksResponse; - return proto.bet.beteran.c2se.bank.ListBanksResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.ListBanksResponse(); + return proto.bet.beteran.c2se.bank.ListBanksResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -1611,42 +1820,53 @@ proto.bet.beteran.c2se.bank.ListBanksResponse.deserializeBinary = function(bytes * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.ListBanksResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.ListBanksResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1655,89 +1875,96 @@ proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.serializeBinary = functi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.Result.serializeBinaryToWriter - ); - } -}; - - +proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.Result + .serializeBinaryToWriter + ); + } + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.repeatedFields_ = [1]; - - +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.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.bank.ListBanksResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.ListBanksResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.ListBanksResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), + banksList: jspb.Message.toObjectList( + msg.getBanksList(), + models_bank_pb.Bank.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.bank.ListBanksResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - banksList: jspb.Message.toObjectList(msg.getBanksList(), - models_bank_pb.Bank.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.bank.ListBanksResponse.Result} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.ListBanksResponse.Result; - return proto.bet.beteran.c2se.bank.ListBanksResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.bank.ListBanksResponse.Result(); + return proto.bet.beteran.c2se.bank.ListBanksResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1746,37 +1973,47 @@ proto.bet.beteran.c2se.bank.ListBanksResponse.Result.deserializeBinary = functio * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse.Result} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: + var value = new models_bank_pb.Bank(); + reader.readMessage( + value, + models_bank_pb.Bank.deserializeBinaryFromReader + ); + msg.addBanks(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_bank_pb.Bank; - reader.readMessage(value,models_bank_pb.Bank.deserializeBinaryFromReader); - msg.addBanks(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.bank.ListBanksResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.ListBanksResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.ListBanksResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1785,186 +2022,229 @@ proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.serializeBinary = * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getBanksList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - models_bank_pb.Bank.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } + f = message.getBanksList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + models_bank_pb.Bank.serializeBinaryToWriter + ); + } + }; /** - * repeated bet.beteran.bank.Bank banks = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse.Result} returns this + */ +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.bank.Bank banks = 2; * @return {!Array} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.getBanksList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_bank_pb.Bank, 1)); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.getBanksList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, models_bank_pb.Bank, 2) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse.Result} returns this -*/ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.setBanksList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.setBanksList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); + }; /** * @param {!proto.bet.beteran.bank.Bank=} opt_value * @param {number=} opt_index * @return {!proto.bet.beteran.bank.Bank} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.addBanks = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.bank.Bank, opt_index); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.addBanks = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 2, + opt_value, + proto.bet.beteran.bank.Bank, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse.Result} returns this */ -proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.clearBanksList = function() { - return this.setBanksList([]); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.Result.prototype.clearBanksList = + function () { + return this.setBanksList([]); + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.getError = function() { +proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.getError = function () { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); + jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1) + ); }; - /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse} returns this -*/ -proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse} returns this */ -proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.hasError = function() { +proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.hasError = function () { return jspb.Message.getField(this, 1) != null; }; - /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.bank.ListBanksResponse.Result} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.bank.ListBanksResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.bank.ListBanksResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.bank.ListBanksResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.bank.ListBanksResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.bank.ListBanksResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse} returns this -*/ -proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.ListBanksResponse} returns this */ -proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.bank.ListBanksResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.GetBankRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.GetBankRequest.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.bank.GetBankRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.GetBankRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.bank.ListBanksResponse.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.bank.GetBankRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.GetBankRequest.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.bank.GetBankRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.GetBankRequest.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.bank.GetBankRequest} */ -proto.bet.beteran.c2se.bank.GetBankRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.GetBankRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.GetBankRequest; - return proto.bet.beteran.c2se.bank.GetBankRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.GetBankRequest(); + return proto.bet.beteran.c2se.bank.GetBankRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -1972,36 +2252,39 @@ proto.bet.beteran.c2se.bank.GetBankRequest.deserializeBinary = function(bytes) { * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.GetBankRequest} */ -proto.bet.beteran.c2se.bank.GetBankRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.GetBankRequest.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.bank.GetBankRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.GetBankRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.GetBankRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.GetBankRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2010,92 +2293,104 @@ proto.bet.beteran.c2se.bank.GetBankRequest.prototype.serializeBinary = function( * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.GetBankRequest.serializeBinaryToWriter = function(message, writer) { +proto.bet.beteran.c2se.bank.GetBankRequest.serializeBinaryToWriter = function ( + message, + writer +) { var f = undefined; f = message.getId(); if (f.length > 0) { - writer.writeString( - 1, - f - ); + writer.writeString(1, f); } }; - /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.bank.GetBankRequest.prototype.getId = function() { +proto.bet.beteran.c2se.bank.GetBankRequest.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.GetBankRequest} returns this */ -proto.bet.beteran.c2se.bank.GetBankRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.bank.GetBankRequest.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.bank.GetBankResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.GetBankResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.GetBankResponse.Result.toObject(includeInstance, f) + /** + * 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.bank.GetBankResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.GetBankResponse.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.bank.GetBankResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.GetBankResponse.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.bank.GetBankResponse} */ -proto.bet.beteran.c2se.bank.GetBankResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.GetBankResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.GetBankResponse; - return proto.bet.beteran.c2se.bank.GetBankResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.GetBankResponse(); + return proto.bet.beteran.c2se.bank.GetBankResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2103,42 +2398,52 @@ proto.bet.beteran.c2se.bank.GetBankResponse.deserializeBinary = function(bytes) * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.GetBankResponse} */ -proto.bet.beteran.c2se.bank.GetBankResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.GetBankResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.GetBankResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.GetBankResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.GetBankResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.GetBankResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.GetBankResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2147,15 +2452,14 @@ proto.bet.beteran.c2se.bank.GetBankResponse.prototype.serializeBinary = function * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.GetBankResponse.serializeBinaryToWriter = function(message, writer) { +proto.bet.beteran.c2se.bank.GetBankResponse.serializeBinaryToWriter = function ( + message, + writer +) { var f = undefined; f = message.getError(); if (f != null) { - writer.writeMessage( - 1, - f, - protobuf_rpc_pb.Error.serializeBinaryToWriter - ); + writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter); } f = message.getResult(); if (f != null) { @@ -2167,61 +2471,68 @@ proto.bet.beteran.c2se.bank.GetBankResponse.serializeBinaryToWriter = function(m } }; - - - - 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.bank.GetBankResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.GetBankResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.GetBankResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.GetBankResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + bank: + (f = msg.getBank()) && + models_bank_pb.Bank.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.bank.GetBankResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.GetBankResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - bank: (f = msg.getBank()) && models_bank_pb.Bank.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.bank.GetBankResponse.Result} */ -proto.bet.beteran.c2se.bank.GetBankResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.GetBankResponse.Result; - return proto.bet.beteran.c2se.bank.GetBankResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.bank.GetBankResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.bank.GetBankResponse.Result(); + return proto.bet.beteran.c2se.bank.GetBankResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2230,37 +2541,43 @@ proto.bet.beteran.c2se.bank.GetBankResponse.Result.deserializeBinary = function( * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.GetBankResponse.Result} */ -proto.bet.beteran.c2se.bank.GetBankResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.GetBankResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_bank_pb.Bank(); + reader.readMessage( + value, + models_bank_pb.Bank.deserializeBinaryFromReader + ); + msg.setBank(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_bank_pb.Bank; - reader.readMessage(value,models_bank_pb.Bank.deserializeBinaryFromReader); - msg.setBank(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.bank.GetBankResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.GetBankResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.GetBankResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2269,190 +2586,198 @@ proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.serializeBinary = f * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.GetBankResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getBank(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_bank_pb.Bank.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.bank.GetBankResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getBank(); + if (f != null) { + writer.writeMessage(1, f, models_bank_pb.Bank.serializeBinaryToWriter); + } + }; /** * optional bet.beteran.bank.Bank bank = 1; * @return {?proto.bet.beteran.bank.Bank} */ -proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.getBank = function() { - return /** @type{?proto.bet.beteran.bank.Bank} */ ( - jspb.Message.getWrapperField(this, models_bank_pb.Bank, 1)); -}; - +proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.getBank = + function () { + return /** @type{?proto.bet.beteran.bank.Bank} */ ( + jspb.Message.getWrapperField(this, models_bank_pb.Bank, 1) + ); + }; /** * @param {?proto.bet.beteran.bank.Bank|undefined} value * @return {!proto.bet.beteran.c2se.bank.GetBankResponse.Result} returns this -*/ -proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.setBank = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.setBank = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.GetBankResponse.Result} returns this */ -proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.clearBank = function() { - return this.setBank(undefined); -}; - +proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.clearBank = + function () { + return this.setBank(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.hasBank = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.bank.GetBankResponse.Result.prototype.hasBank = + 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.bank.GetBankResponse.prototype.getError = function() { +proto.bet.beteran.c2se.bank.GetBankResponse.prototype.getError = function () { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); + jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1) + ); }; - /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.bank.GetBankResponse} returns this -*/ -proto.bet.beteran.c2se.bank.GetBankResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.bank.GetBankResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.GetBankResponse} returns this */ -proto.bet.beteran.c2se.bank.GetBankResponse.prototype.clearError = function() { +proto.bet.beteran.c2se.bank.GetBankResponse.prototype.clearError = function () { return this.setError(undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.GetBankResponse.prototype.hasError = function() { +proto.bet.beteran.c2se.bank.GetBankResponse.prototype.hasError = function () { return jspb.Message.getField(this, 1) != null; }; - /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.bank.GetBankResponse.Result} */ -proto.bet.beteran.c2se.bank.GetBankResponse.prototype.getResult = function() { +proto.bet.beteran.c2se.bank.GetBankResponse.prototype.getResult = function () { return /** @type{?proto.bet.beteran.c2se.bank.GetBankResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.bank.GetBankResponse.Result, 2)); + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.bank.GetBankResponse.Result, + 2 + ) + ); }; - /** * @param {?proto.bet.beteran.c2se.bank.GetBankResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.bank.GetBankResponse} returns this -*/ -proto.bet.beteran.c2se.bank.GetBankResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.bank.GetBankResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.GetBankResponse} returns this */ -proto.bet.beteran.c2se.bank.GetBankResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.bank.GetBankResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.GetBankResponse.prototype.hasResult = function() { +proto.bet.beteran.c2se.bank.GetBankResponse.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.bank.UpdateBankRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.UpdateBankRequest.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.bank.UpdateBankRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0), - show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - memo: jspb.Message.getFieldWithDefault(msg, 6, "") + /** + * 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.bank.UpdateBankRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.UpdateBankRequest.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.bank.UpdateBankRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.UpdateBankRequest.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0), + show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + memo: jspb.Message.getFieldWithDefault(msg, 6, ""), + }; + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.UpdateBankRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.UpdateBankRequest; - return proto.bet.beteran.c2se.bank.UpdateBankRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.UpdateBankRequest(); + return proto.bet.beteran.c2se.bank.UpdateBankRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2460,56 +2785,59 @@ proto.bet.beteran.c2se.bank.UpdateBankRequest.deserializeBinary = function(bytes * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.UpdateBankRequest.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.setName(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint32()); + msg.setSortOrder(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanUse(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = /** @type {number} */ (reader.readUint32()); - msg.setSortOrder(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanUse(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.UpdateBankRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.UpdateBankRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2518,235 +2846,236 @@ proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.serializeBinary = functi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getSortOrder(); - if (f !== 0) { - writer.writeUint32( - 3, - f - ); - } - f = message.getShow(); - if (f) { - writer.writeBool( - 4, - f - ); - } - f = message.getCanUse(); - if (f) { - writer.writeBool( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } -}; - +proto.bet.beteran.c2se.bank.UpdateBankRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getSortOrder(); + if (f !== 0) { + writer.writeUint32(3, f); + } + f = message.getShow(); + if (f) { + writer.writeBool(4, f); + } + f = message.getCanUse(); + if (f) { + writer.writeBool(5, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString(6, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getId = function() { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setId = function ( + value +) { return jspb.Message.setProto3StringField(this, 1, value); }; - /** * optional string name = 2; * @return {string} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getName = function() { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getName = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setName = function(value) { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setName = function ( + value +) { return jspb.Message.setProto3StringField(this, 2, value); }; - /** * optional uint32 sort_order = 3; * @return {number} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getSortOrder = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getSortOrder = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setSortOrder = function(value) { - return jspb.Message.setProto3IntField(this, 3, value); -}; - +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setSortOrder = + function (value) { + return jspb.Message.setProto3IntField(this, 3, value); + }; /** * optional bool show = 4; * @return {boolean} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getShow = function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); }; - /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setShow = function(value) { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setShow = function ( + value +) { return jspb.Message.setProto3BooleanField(this, 4, value); }; - /** * optional bool can_use = 5; * @return {boolean} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getCanUse = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); -}; - +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getCanUse = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setCanUse = function(value) { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setCanUse = function ( + value +) { return jspb.Message.setProto3BooleanField(this, 5, value); }; - /** * optional string memo = 6; * @return {string} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getMemo = function() { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.getMemo = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setMemo = function(value) { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.setMemo = function ( + value +) { return jspb.Message.setField(this, 6, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.bank.UpdateBankRequest} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 6, undefined); -}; - +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 6, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.hasMemo = function() { +proto.bet.beteran.c2se.bank.UpdateBankRequest.prototype.hasMemo = function () { return jspb.Message.getField(this, 6) != null; }; - - - - if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.Result.toObject(includeInstance, f) + /** + * 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.bank.UpdateBankResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.UpdateBankResponse.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.bank.UpdateBankResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.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.bank.UpdateBankResponse} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.UpdateBankResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.UpdateBankResponse; - return proto.bet.beteran.c2se.bank.UpdateBankResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.UpdateBankResponse(); + return proto.bet.beteran.c2se.bank.UpdateBankResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2754,42 +3083,53 @@ proto.bet.beteran.c2se.bank.UpdateBankResponse.deserializeBinary = function(byte * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.UpdateBankResponse} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.UpdateBankResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.UpdateBankResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2798,81 +3138,86 @@ proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.serializeBinary = funct * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.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.bank.UpdateBankResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - bank: (f = msg.getBank()) && models_bank_pb.Bank.toObject(includeInstance, f) +proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.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.bank.UpdateBankResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + bank: + (f = msg.getBank()) && + models_bank_pb.Bank.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.bank.UpdateBankResponse.Result} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.UpdateBankResponse.Result; - return proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.bank.UpdateBankResponse.Result(); + return proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2881,37 +3226,43 @@ proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.deserializeBinary = functi * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.UpdateBankResponse.Result} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_bank_pb.Bank(); + reader.readMessage( + value, + models_bank_pb.Bank.deserializeBinaryFromReader + ); + msg.setBank(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_bank_pb.Bank; - reader.readMessage(value,models_bank_pb.Bank.deserializeBinaryFromReader); - msg.setBank(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.bank.UpdateBankResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2920,185 +3271,198 @@ proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.serializeBinary * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getBank(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_bank_pb.Bank.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getBank(); + if (f != null) { + writer.writeMessage(1, f, models_bank_pb.Bank.serializeBinaryToWriter); + } + }; /** * optional bet.beteran.bank.Bank bank = 1; * @return {?proto.bet.beteran.bank.Bank} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.getBank = function() { - return /** @type{?proto.bet.beteran.bank.Bank} */ ( - jspb.Message.getWrapperField(this, models_bank_pb.Bank, 1)); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.getBank = + function () { + return /** @type{?proto.bet.beteran.bank.Bank} */ ( + jspb.Message.getWrapperField(this, models_bank_pb.Bank, 1) + ); + }; /** * @param {?proto.bet.beteran.bank.Bank|undefined} value * @return {!proto.bet.beteran.c2se.bank.UpdateBankResponse.Result} returns this -*/ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.setBank = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.setBank = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.UpdateBankResponse.Result} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.clearBank = function() { - return this.setBank(undefined); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.clearBank = + function () { + return this.setBank(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.hasBank = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.Result.prototype.hasBank = + 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.bank.UpdateBankResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.UpdateBankResponse} returns this -*/ -proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.UpdateBankResponse} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.bank.UpdateBankResponse.Result} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.bank.UpdateBankResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.bank.UpdateBankResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.bank.UpdateBankResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.bank.UpdateBankResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.bank.UpdateBankResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.bank.UpdateBankResponse} returns this -*/ -proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.UpdateBankResponse} returns this */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.bank.UpdateBankResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.DeleteBankRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.DeleteBankRequest.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.bank.DeleteBankRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.DeleteBankRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.bank.UpdateBankResponse.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.bank.DeleteBankRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.DeleteBankRequest.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.bank.DeleteBankRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.DeleteBankRequest.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.bank.DeleteBankRequest} */ -proto.bet.beteran.c2se.bank.DeleteBankRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.DeleteBankRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.DeleteBankRequest; - return proto.bet.beteran.c2se.bank.DeleteBankRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.DeleteBankRequest(); + return proto.bet.beteran.c2se.bank.DeleteBankRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -3106,36 +3470,39 @@ proto.bet.beteran.c2se.bank.DeleteBankRequest.deserializeBinary = function(bytes * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.DeleteBankRequest} */ -proto.bet.beteran.c2se.bank.DeleteBankRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.DeleteBankRequest.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.bank.DeleteBankRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.DeleteBankRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.DeleteBankRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.DeleteBankRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3144,92 +3511,104 @@ proto.bet.beteran.c2se.bank.DeleteBankRequest.prototype.serializeBinary = functi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.DeleteBankRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.bank.DeleteBankRequest.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.bank.DeleteBankRequest.prototype.getId = function() { +proto.bet.beteran.c2se.bank.DeleteBankRequest.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.bank.DeleteBankRequest} returns this */ -proto.bet.beteran.c2se.bank.DeleteBankRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.bank.DeleteBankRequest.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.bank.DeleteBankResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result.toObject(includeInstance, f) + /** + * 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.bank.DeleteBankResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.bank.DeleteBankResponse.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.bank.DeleteBankResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.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.bank.DeleteBankResponse} */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.bank.DeleteBankResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.DeleteBankResponse; - return proto.bet.beteran.c2se.bank.DeleteBankResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.bank.DeleteBankResponse(); + return proto.bet.beteran.c2se.bank.DeleteBankResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -3237,42 +3616,53 @@ proto.bet.beteran.c2se.bank.DeleteBankResponse.deserializeBinary = function(byte * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.DeleteBankResponse} */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.DeleteBankResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.DeleteBankResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3281,81 +3671,82 @@ proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.serializeBinary = funct * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - +proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result} */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.bank.DeleteBankResponse.Result; - return proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.bank.DeleteBankResponse.Result(); + return proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3364,32 +3755,35 @@ proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.deserializeBinary = functi * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.bank.DeleteBankResponse.Result} */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3398,83 +3792,91 @@ proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.prototype.serializeBinary * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.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.bank.DeleteBankResponse} returns this -*/ -proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.DeleteBankResponse} returns this */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.bank.DeleteBankResponse.Result} */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.bank.DeleteBankResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.bank.DeleteBankResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.bank.DeleteBankResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.bank.DeleteBankResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.bank.DeleteBankResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.bank.DeleteBankResponse} returns this -*/ -proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.bank.DeleteBankResponse} returns this */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.bank.DeleteBankResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; goog.object.extend(exports, proto.bet.beteran.c2se.bank); diff --git a/src/app/modules/proto/c2se/member_bank_account_pb.d.ts b/src/app/modules/proto/c2se/member_bank_account_pb.d.ts index e79c189..dbbb5f2 100644 --- a/src/app/modules/proto/c2se/member_bank_account_pb.d.ts +++ b/src/app/modules/proto/c2se/member_bank_account_pb.d.ts @@ -273,6 +273,9 @@ export namespace ListMemberBankAccountsResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMemberBankAccountsList(): void; getMemberBankAccountsList(): Array; setMemberBankAccountsList( @@ -303,6 +306,7 @@ export namespace ListMemberBankAccountsResponse { export namespace Result { export type AsObject = { + totalCount: number; memberBankAccountsList: Array; }; } diff --git a/src/app/modules/proto/c2se/member_bank_account_pb.js b/src/app/modules/proto/c2se/member_bank_account_pb.js index c65c94d..2342f6d 100644 --- a/src/app/modules/proto/c2se/member_bank_account_pb.js +++ b/src/app/modules/proto/c2se/member_bank_account_pb.js @@ -2145,7 +2145,7 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.serial * @const */ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.repeatedFields_ = - [1]; + [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -2181,6 +2181,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { function (includeInstance, msg) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), memberBankAccountsList: jspb.Message.toObjectList( msg.getMemberBankAccountsList(), models_member_bank_account_pb.MemberBankAccount.toObject, @@ -2227,6 +2228,10 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_member_bank_account_pb.MemberBankAccount(); reader.readMessage( value, @@ -2267,10 +2272,14 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getMemberBankAccountsList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter ); @@ -2278,7 +2287,25 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result }; /** - * repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 2; * @return {!Array} */ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.getMemberBankAccountsList = @@ -2287,7 +2314,7 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result jspb.Message.getRepeatedWrapperField( this, models_member_bank_account_pb.MemberBankAccount, - 1 + 2 ) ); }; @@ -2298,7 +2325,7 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result */ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.setMemberBankAccountsList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -2310,7 +2337,7 @@ proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.member_bank_account.MemberBankAccount, opt_index diff --git a/src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts b/src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts index 29fabdc..9e320d3 100644 --- a/src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts +++ b/src/app/modules/proto/c2se/member_bank_deposit_pb.d.ts @@ -263,6 +263,9 @@ export namespace ListMemberBankDepositsResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMemberBankDepositsList(): void; getMemberBankDepositsList(): Array; setMemberBankDepositsList( @@ -293,6 +296,7 @@ export namespace ListMemberBankDepositsResponse { export namespace Result { export type AsObject = { + totalCount: number; memberBankDepositsList: Array; }; } diff --git a/src/app/modules/proto/c2se/member_bank_deposit_pb.js b/src/app/modules/proto/c2se/member_bank_deposit_pb.js index 32fe101..531378d 100644 --- a/src/app/modules/proto/c2se/member_bank_deposit_pb.js +++ b/src/app/modules/proto/c2se/member_bank_deposit_pb.js @@ -2066,7 +2066,7 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.serial * @const */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.repeatedFields_ = - [1]; + [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -2102,6 +2102,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { function (includeInstance, msg) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), memberBankDepositsList: jspb.Message.toObjectList( msg.getMemberBankDepositsList(), models_member_bank_deposit_pb.MemberBankDepositModel.toObject, @@ -2148,6 +2149,10 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_member_bank_deposit_pb.MemberBankDepositModel(); reader.readMessage( @@ -2189,10 +2194,14 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getMemberBankDepositsList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_member_bank_deposit_pb.MemberBankDepositModel .serializeBinaryToWriter @@ -2201,7 +2210,25 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result }; /** - * repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member_bank_deposit.MemberBankDepositModel member_bank_deposits = 2; * @return {!Array} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.getMemberBankDepositsList = @@ -2210,7 +2237,7 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result jspb.Message.getRepeatedWrapperField( this, models_member_bank_deposit_pb.MemberBankDepositModel, - 1 + 2 ) ); }; @@ -2221,7 +2248,7 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.setMemberBankDepositsList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -2233,7 +2260,7 @@ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.member_bank_deposit.MemberBankDepositModel, opt_index diff --git a/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts b/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts index 57d8c1e..c7d29d0 100644 --- a/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts +++ b/src/app/modules/proto/c2se/member_bank_withdraw_pb.d.ts @@ -289,6 +289,9 @@ export namespace ListMemberBankWithdrawsResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMemberBankWithdrawsList(): void; getMemberBankWithdrawsList(): Array; setMemberBankWithdrawsList( @@ -319,6 +322,7 @@ export namespace ListMemberBankWithdrawsResponse { export namespace Result { export type AsObject = { + totalCount: number; memberBankWithdrawsList: Array; }; } diff --git a/src/app/modules/proto/c2se/member_bank_withdraw_pb.js b/src/app/modules/proto/c2se/member_bank_withdraw_pb.js index 6528319..1a2077f 100644 --- a/src/app/modules/proto/c2se/member_bank_withdraw_pb.js +++ b/src/app/modules/proto/c2se/member_bank_withdraw_pb.js @@ -2248,7 +2248,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.seri * @const */ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.repeatedFields_ = - [1]; + [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -2284,6 +2284,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { function (includeInstance, msg) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), memberBankWithdrawsList: jspb.Message.toObjectList( msg.getMemberBankWithdrawsList(), models_member_bank_withdraw_pb.MemberBankWithdrawModel.toObject, @@ -2330,6 +2331,10 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Resu var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_member_bank_withdraw_pb.MemberBankWithdrawModel(); reader.readMessage( @@ -2371,10 +2376,14 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Resu proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getMemberBankWithdrawsList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_member_bank_withdraw_pb.MemberBankWithdrawModel .serializeBinaryToWriter @@ -2383,7 +2392,25 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Resu }; /** - * repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member_bank_withdraw.MemberBankWithdrawModel member_bank_withdraws = 2; * @return {!Array} */ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.getMemberBankWithdrawsList = @@ -2392,7 +2419,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Resu jspb.Message.getRepeatedWrapperField( this, models_member_bank_withdraw_pb.MemberBankWithdrawModel, - 1 + 2 ) ); }; @@ -2403,7 +2430,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Resu */ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Result.prototype.setMemberBankWithdrawsList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -2415,7 +2442,7 @@ proto.bet.beteran.c2se.member_bank_withdraw.ListMemberBankWithdrawsResponse.Resu function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.member_bank_withdraw.MemberBankWithdrawModel, opt_index diff --git a/src/app/modules/proto/c2se/member_class_pb.d.ts b/src/app/modules/proto/c2se/member_class_pb.d.ts index f1e314e..adf674f 100644 --- a/src/app/modules/proto/c2se/member_class_pb.d.ts +++ b/src/app/modules/proto/c2se/member_class_pb.d.ts @@ -1,10 +1,10 @@ // package: bet.beteran.c2se.member_class // file: c2se/member_class.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_class_pb from "../models/member_class_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_class_pb from '../models/member_class_pb'; export class CreateMemberClassRequest extends jspb.Message { hasParentId(): boolean; @@ -20,20 +20,31 @@ export class CreateMemberClassRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberClassRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberClassRequest): CreateMemberClassRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberClassRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberClassRequest + ): CreateMemberClassRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberClassRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberClassRequest; - static deserializeBinaryFromReader(message: CreateMemberClassRequest, reader: jspb.BinaryReader): CreateMemberClassRequest; + static deserializeBinaryFromReader( + message: CreateMemberClassRequest, + reader: jspb.BinaryReader + ): CreateMemberClassRequest; } export namespace CreateMemberClassRequest { export type AsObject = { - parentId: string, - name: string, - show: boolean, - } + parentId: string; + name: string; + show: boolean; + }; } export class CreateMemberClassResponse extends jspb.Message { @@ -49,19 +60,30 @@ export class CreateMemberClassResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberClassResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberClassResponse): CreateMemberClassResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberClassResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberClassResponse + ): CreateMemberClassResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberClassResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberClassResponse; - static deserializeBinaryFromReader(message: CreateMemberClassResponse, reader: jspb.BinaryReader): CreateMemberClassResponse; + static deserializeBinaryFromReader( + message: CreateMemberClassResponse, + reader: jspb.BinaryReader + ): CreateMemberClassResponse; } export namespace CreateMemberClassResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: CreateMemberClassResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateMemberClassResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberClass(): boolean; @@ -72,17 +94,25 @@ export namespace CreateMemberClassResponse { 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 = { - memberClass?: models_member_class_pb.MemberClass.AsObject, - } + memberClass?: models_member_class_pb.MemberClass.AsObject; + }; } } @@ -95,7 +125,10 @@ export class ListMemberClassesRequest extends jspb.Message { clearSortsList(): void; getSortsList(): Array; setSortsList(value: Array): void; - addSorts(value?: protobuf_pagination_pb.Sort, index?: number): protobuf_pagination_pb.Sort; + addSorts( + value?: protobuf_pagination_pb.Sort, + index?: number + ): protobuf_pagination_pb.Sort; hasSearch(): boolean; clearSearch(): void; @@ -104,20 +137,31 @@ export class ListMemberClassesRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberClassesRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberClassesRequest): ListMemberClassesRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberClassesRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberClassesRequest + ): ListMemberClassesRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberClassesRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberClassesRequest; - static deserializeBinaryFromReader(message: ListMemberClassesRequest, reader: jspb.BinaryReader): ListMemberClassesRequest; + static deserializeBinaryFromReader( + message: ListMemberClassesRequest, + reader: jspb.BinaryReader + ): ListMemberClassesRequest; } export namespace ListMemberClassesRequest { export type AsObject = { - pagination?: protobuf_pagination_pb.Pagination.AsObject, - sortsList: Array, - search?: ListMemberClassesRequest.Search.AsObject, - } + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListMemberClassesRequest.Search.AsObject; + }; export class Search extends jspb.Message { hasNameLike(): boolean; @@ -133,18 +177,26 @@ export namespace ListMemberClassesRequest { 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 = { - nameLike: string, - show: boolean, - } + nameLike: string; + show: boolean; + }; } } @@ -161,40 +213,68 @@ export class ListMemberClassesResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberClassesResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberClassesResponse): ListMemberClassesResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberClassesResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberClassesResponse + ): ListMemberClassesResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberClassesResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberClassesResponse; - static deserializeBinaryFromReader(message: ListMemberClassesResponse, reader: jspb.BinaryReader): ListMemberClassesResponse; + static deserializeBinaryFromReader( + message: ListMemberClassesResponse, + reader: jspb.BinaryReader + ): ListMemberClassesResponse; } export namespace ListMemberClassesResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: ListMemberClassesResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListMemberClassesResponse.Result.AsObject; + }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMemberClassesList(): void; getMemberClassesList(): Array; - setMemberClassesList(value: Array): void; - addMemberClasses(value?: models_member_class_pb.MemberClass, index?: number): models_member_class_pb.MemberClass; + setMemberClassesList( + value: Array + ): void; + addMemberClasses( + value?: models_member_class_pb.MemberClass, + index?: number + ): models_member_class_pb.MemberClass; 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 = { - memberClassesList: Array, - } + totalCount: number; + memberClassesList: Array; + }; } } @@ -204,18 +284,29 @@ export class GetMemberClassRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberClassRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberClassRequest): GetMemberClassRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberClassRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberClassRequest + ): GetMemberClassRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberClassRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberClassRequest; - static deserializeBinaryFromReader(message: GetMemberClassRequest, reader: jspb.BinaryReader): GetMemberClassRequest; + static deserializeBinaryFromReader( + message: GetMemberClassRequest, + reader: jspb.BinaryReader + ): GetMemberClassRequest; } export namespace GetMemberClassRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class GetMemberClassResponse extends jspb.Message { @@ -231,19 +322,30 @@ export class GetMemberClassResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberClassResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberClassResponse): GetMemberClassResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberClassResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberClassResponse + ): GetMemberClassResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberClassResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberClassResponse; - static deserializeBinaryFromReader(message: GetMemberClassResponse, reader: jspb.BinaryReader): GetMemberClassResponse; + static deserializeBinaryFromReader( + message: GetMemberClassResponse, + reader: jspb.BinaryReader + ): GetMemberClassResponse; } export namespace GetMemberClassResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetMemberClassResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberClassResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberClass(): boolean; @@ -254,17 +356,25 @@ export namespace GetMemberClassResponse { 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 = { - memberClass?: models_member_class_pb.MemberClass.AsObject, - } + memberClass?: models_member_class_pb.MemberClass.AsObject; + }; } } @@ -285,21 +395,32 @@ export class UpdateMemberClassRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberClassRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberClassRequest): UpdateMemberClassRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberClassRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberClassRequest + ): UpdateMemberClassRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberClassRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberClassRequest; - static deserializeBinaryFromReader(message: UpdateMemberClassRequest, reader: jspb.BinaryReader): UpdateMemberClassRequest; + static deserializeBinaryFromReader( + message: UpdateMemberClassRequest, + reader: jspb.BinaryReader + ): UpdateMemberClassRequest; } export namespace UpdateMemberClassRequest { export type AsObject = { - id: string, - parentId: string, - name: string, - show: boolean, - } + id: string; + parentId: string; + name: string; + show: boolean; + }; } export class UpdateMemberClassResponse extends jspb.Message { @@ -315,19 +436,30 @@ export class UpdateMemberClassResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberClassResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberClassResponse): UpdateMemberClassResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberClassResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberClassResponse + ): UpdateMemberClassResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberClassResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberClassResponse; - static deserializeBinaryFromReader(message: UpdateMemberClassResponse, reader: jspb.BinaryReader): UpdateMemberClassResponse; + static deserializeBinaryFromReader( + message: UpdateMemberClassResponse, + reader: jspb.BinaryReader + ): UpdateMemberClassResponse; } export namespace UpdateMemberClassResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberClassResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberClassResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberClass(): boolean; @@ -338,17 +470,25 @@ export namespace UpdateMemberClassResponse { 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 = { - memberClass?: models_member_class_pb.MemberClass.AsObject, - } + memberClass?: models_member_class_pb.MemberClass.AsObject; + }; } } @@ -358,18 +498,29 @@ export class DeleteMemberClassRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberClassRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberClassRequest): DeleteMemberClassRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberClassRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberClassRequest + ): DeleteMemberClassRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberClassRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberClassRequest; - static deserializeBinaryFromReader(message: DeleteMemberClassRequest, reader: jspb.BinaryReader): DeleteMemberClassRequest; + static deserializeBinaryFromReader( + message: DeleteMemberClassRequest, + reader: jspb.BinaryReader + ): DeleteMemberClassRequest; } export namespace DeleteMemberClassRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class DeleteMemberClassResponse extends jspb.Message { @@ -385,34 +536,51 @@ export class DeleteMemberClassResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberClassResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberClassResponse): DeleteMemberClassResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberClassResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberClassResponse + ): DeleteMemberClassResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberClassResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberClassResponse; - static deserializeBinaryFromReader(message: DeleteMemberClassResponse, reader: jspb.BinaryReader): DeleteMemberClassResponse; + static deserializeBinaryFromReader( + message: DeleteMemberClassResponse, + reader: jspb.BinaryReader + ): DeleteMemberClassResponse; } export namespace DeleteMemberClassResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: DeleteMemberClassResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteMemberClassResponse.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_class_pb.js b/src/app/modules/proto/c2se/member_class_pb.js index 4701ecb..4392b9e 100644 --- a/src/app/modules/proto/c2se/member_class_pb.js +++ b/src/app/modules/proto/c2se/member_class_pb.js @@ -11,32 +11,98 @@ /* eslint-disable */ // @ts-nocheck -var jspb = require('google-protobuf'); +var jspb = require("google-protobuf"); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); -var protobuf_rpc_pb = require('../protobuf/rpc_pb.js'); +var protobuf_rpc_pb = require("../protobuf/rpc_pb.js"); goog.object.extend(proto, protobuf_rpc_pb); -var protobuf_pagination_pb = require('../protobuf/pagination_pb.js'); +var protobuf_pagination_pb = require("../protobuf/pagination_pb.js"); goog.object.extend(proto, protobuf_pagination_pb); -var models_member_class_pb = require('../models/member_class_pb.js'); +var models_member_class_pb = require("../models/member_class_pb.js"); goog.object.extend(proto, models_member_class_pb); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.CreateMemberClassRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.CreateMemberClassResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.GetMemberClassRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.GetMemberClassResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.ListMemberClassesRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.ListMemberClassesResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result', null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.CreateMemberClassRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.CreateMemberClassResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.GetMemberClassRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.GetMemberClassResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.ListMemberClassesRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.ListMemberClassesResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -47,16 +113,22 @@ goog.exportSymbol('proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest = function(opt_data) { +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.CreateMemberClassRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.CreateMemberClassRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.displayName = 'proto.bet.beteran.c2se.member_class.CreateMemberClassRequest'; + proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.displayName = + "proto.bet.beteran.c2se.member_class.CreateMemberClassRequest"; } /** * Generated by JsPbCodeGenerator. @@ -68,16 +140,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse = function(opt_data) { +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.CreateMemberClassResponse, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.displayName = 'proto.bet.beteran.c2se.member_class.CreateMemberClassResponse'; + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.displayName = + "proto.bet.beteran.c2se.member_class.CreateMemberClassResponse"; } /** * Generated by JsPbCodeGenerator. @@ -89,16 +167,83 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.displayName = + "proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest = function ( + opt_data +) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest + .repeatedFields_, + null + ); +}; +goog.inherits( + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.displayName = + "proto.bet.beteran.c2se.member_class.ListMemberClassesRequest"; +} +/** + * 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_class.ListMemberClassesRequest.Search = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.displayName = 'proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result'; + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.displayName = + "proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search"; } /** * Generated by JsPbCodeGenerator. @@ -110,37 +255,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_class.ListMemberClassesRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.displayName = 'proto.bet.beteran.c2se.member_class.ListMemberClassesRequest'; -} -/** - * 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_class.ListMemberClassesRequest.Search = function(opt_data) { +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.displayName = 'proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search'; + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.displayName = + "proto.bet.beteran.c2se.member_class.ListMemberClassesResponse"; } /** * Generated by JsPbCodeGenerator. @@ -152,16 +282,56 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse = function(opt_data) { +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result + .repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.displayName = + "proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_class.GetMemberClassRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.ListMemberClassesResponse, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.GetMemberClassRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.displayName = 'proto.bet.beteran.c2se.member_class.ListMemberClassesResponse'; + proto.bet.beteran.c2se.member_class.GetMemberClassRequest.displayName = + "proto.bet.beteran.c2se.member_class.GetMemberClassRequest"; } /** * Generated by JsPbCodeGenerator. @@ -173,37 +343,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.displayName = 'proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.bet.beteran.c2se.member_class.GetMemberClassRequest = function(opt_data) { +proto.bet.beteran.c2se.member_class.GetMemberClassResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.GetMemberClassRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.GetMemberClassResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.GetMemberClassRequest.displayName = 'proto.bet.beteran.c2se.member_class.GetMemberClassRequest'; + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.displayName = + "proto.bet.beteran.c2se.member_class.GetMemberClassResponse"; } /** * Generated by JsPbCodeGenerator. @@ -215,16 +370,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse = function(opt_data) { +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.GetMemberClassResponse, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.GetMemberClassResponse.displayName = 'proto.bet.beteran.c2se.member_class.GetMemberClassResponse'; + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.displayName = + "proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -236,16 +397,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.displayName = 'proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result'; + proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.displayName = + "proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest"; } /** * Generated by JsPbCodeGenerator. @@ -257,16 +424,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest = function(opt_data) { +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.displayName = 'proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest'; + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.displayName = + "proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse"; } /** * Generated by JsPbCodeGenerator. @@ -278,16 +451,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse, jspb.Message); +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.displayName = 'proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse'; + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.displayName = + "proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -299,16 +477,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.displayName = 'proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result'; + proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.displayName = + "proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest"; } /** * Generated by JsPbCodeGenerator. @@ -320,16 +504,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest = function(opt_data) { +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.displayName = 'proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest'; + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.displayName = + "proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse"; } /** * Generated by JsPbCodeGenerator. @@ -341,94 +531,84 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse, jspb.Message); +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.displayName = 'proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse'; + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.displayName = + "proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result"; } -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.displayName = 'proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.CreateMemberClassRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.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_class.CreateMemberClassRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.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_class.CreateMemberClassRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + parentId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + }; -/** - * 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_class.CreateMemberClassRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.toObject = function(includeInstance, msg) { - var f, obj = { - parentId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) - }; - - 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_class.CreateMemberClassRequest} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.CreateMemberClassRequest; - return proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.CreateMemberClassRequest(); + return proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -437,44 +617,47 @@ proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassRequest} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.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.setParentId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setParentId(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(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_class.CreateMemberClassRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -483,159 +666,168 @@ proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.serialize * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getShow(); - if (f) { - writer.writeBool( - 3, - f - ); - } -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString(1, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getShow(); + if (f) { + writer.writeBool(3, f); + } + }; /** * optional string parent_id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.getParentId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.getParentId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.setParentId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.setParentId = + function (value) { + return jspb.Message.setField(this, 1, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.clearParentId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.clearParentId = + function () { + return jspb.Message.setField(this, 1, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.hasParentId = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.hasParentId = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional string name = 2; * @return {string} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional bool show = 3; * @return {boolean} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.getShow = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.setShow = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, 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_class.CreateMemberClassResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_class.CreateMemberClassRequest.prototype.setShow = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, 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_class.CreateMemberClassResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.CreateMemberClassResponse; - return proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.CreateMemberClassResponse(); + return proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -644,42 +836,53 @@ proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.deserializeBinary * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassResponse} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -688,81 +891,85 @@ proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.serializ * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberClass: (f = msg.getMemberClass()) && models_member_class_pb.MemberClass.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberClass: + (f = msg.getMemberClass()) && + models_member_class_pb.MemberClass.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_class.CreateMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result; - return proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result(); + return proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -771,37 +978,43 @@ proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.deserialize * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class_pb.MemberClass(); + reader.readMessage( + value, + models_member_class_pb.MemberClass.deserializeBinaryFromReader + ); + msg.setMemberClass(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_class_pb.MemberClass; - reader.readMessage(value,models_member_class_pb.MemberClass.deserializeBinaryFromReader); - msg.setMemberClass(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_class.CreateMemberClassResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -810,194 +1023,218 @@ proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.s * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberClass(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_class_pb.MemberClass.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberClass(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_class_pb.MemberClass.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_class.MemberClass member_class = 1; * @return {?proto.bet.beteran.member_class.MemberClass} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.getMemberClass = function() { - return /** @type{?proto.bet.beteran.member_class.MemberClass} */ ( - jspb.Message.getWrapperField(this, models_member_class_pb.MemberClass, 1)); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.getMemberClass = + function () { + return /** @type{?proto.bet.beteran.member_class.MemberClass} */ ( + jspb.Message.getWrapperField(this, models_member_class_pb.MemberClass, 1) + ); + }; /** * @param {?proto.bet.beteran.member_class.MemberClass|undefined} value * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.setMemberClass = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.setMemberClass = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result} returns this */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.clearMemberClass = function() { - return this.setMemberClass(undefined); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.clearMemberClass = + function () { + return this.setMemberClass(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.hasMemberClass = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result.prototype.hasMemberClass = + 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_class.CreateMemberClassResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.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_class.CreateMemberClassResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassResponse} returns this */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.CreateMemberClassResponse} returns this */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.bet.beteran.c2se.member_class.CreateMemberClassResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.repeatedFields_ = [2]; - - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.ListMemberClassesRequest; - return proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.ListMemberClassesRequest(); + return proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1006,47 +1243,61 @@ proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.Search; - reader.readMessage(value,proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1055,90 +1306,96 @@ proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.serialize * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.Search.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.Search} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.toObject = function(includeInstance, msg) { - var f, obj = { - nameLike: jspb.Message.getFieldWithDefault(msg, 1, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.toObject = + function (includeInstance, msg) { + var f, + obj = { + nameLike: jspb.Message.getFieldWithDefault(msg, 1, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + }; + + 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_class.ListMemberClassesRequest.Search} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search; - return proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search(); + return proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1147,40 +1404,43 @@ proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.deserializeB * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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.setNameLike(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setNameLike(value); - break; - case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(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_class.ListMemberClassesRequest.Search.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1189,264 +1449,287 @@ proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.se * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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 {boolean} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeBool( - 2, - f - ); - } -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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 {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool(2, f); + } + }; /** * optional string name_like = 1; * @return {string} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.getNameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.getNameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.setNameLike = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.setNameLike = + function (value) { + return jspb.Message.setField(this, 1, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.clearNameLike = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.clearNameLike = + function () { + return jspb.Message.setField(this, 1, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.hasNameLike = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.hasNameLike = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional bool show = 2; * @return {boolean} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.getShow = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.setShow = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.setShow = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.clearShow = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.clearShow = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.hasShow = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search.prototype.hasShow = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.getPagination = function() { - return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( - jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1)); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest} returns this -*/ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.setPagination = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.setPagination = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.clearPagination = function() { - return this.setPagination(undefined); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.hasPagination = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.hasPagination = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * repeated bet.protobuf.pagination.Sort sorts = 2; * @return {!Array} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.getSortsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.getSortsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest} returns this -*/ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.setSortsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest.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_class.ListMemberClassesRequest} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.clearSortsList = function() { - return this.setSortsList([]); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.getSearch = function() { - return /** @type{?proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search, 3)); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.getSearch = + function () { + return /** @type{?proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search, + 3 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest} returns this -*/ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.setSearch = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.setSearch = + function (value) { + return jspb.Message.setWrapperField(this, 3, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesRequest} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.clearSearch = function() { - return this.setSearch(undefined); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_class.ListMemberClassesRequest.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_class.ListMemberClassesResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.ListMemberClassesResponse; - return proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.ListMemberClassesResponse(); + return proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1455,42 +1738,53 @@ proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.deserializeBinary * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesResponse} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1499,89 +1793,96 @@ proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.serializ * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.Result.serializeBinaryToWriter - ); - } -}; - - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.Result + .serializeBinaryToWriter + ); + } + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.repeatedFields_ = [1]; - - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.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_class.ListMemberClassesResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), + memberClassesList: jspb.Message.toObjectList( + msg.getMemberClassesList(), + models_member_class_pb.MemberClass.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_class.ListMemberClassesResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberClassesList: jspb.Message.toObjectList(msg.getMemberClassesList(), - models_member_class_pb.MemberClass.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_class.ListMemberClassesResponse.Result} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result; - return proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result(); + return proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1590,37 +1891,47 @@ proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.deserialize * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: + var value = new models_member_class_pb.MemberClass(); + reader.readMessage( + value, + models_member_class_pb.MemberClass.deserializeBinaryFromReader + ); + msg.addMemberClasses(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_class_pb.MemberClass; - reader.readMessage(value,models_member_class_pb.MemberClass.deserializeBinaryFromReader); - msg.addMemberClasses(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_class.ListMemberClassesResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1629,185 +1940,228 @@ proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.s * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberClassesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - models_member_class_pb.MemberClass.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } + f = message.getMemberClassesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + models_member_class_pb.MemberClass.serializeBinaryToWriter + ); + } + }; /** - * repeated bet.beteran.member_class.MemberClass member_classes = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member_class.MemberClass member_classes = 2; * @return {!Array} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.getMemberClassesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_member_class_pb.MemberClass, 1)); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.getMemberClassesList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField( + this, + models_member_class_pb.MemberClass, + 2 + ) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.setMemberClassesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.setMemberClassesList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); + }; /** * @param {!proto.bet.beteran.member_class.MemberClass=} opt_value * @param {number=} opt_index * @return {!proto.bet.beteran.member_class.MemberClass} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.addMemberClasses = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.member_class.MemberClass, opt_index); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.addMemberClasses = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 2, + opt_value, + proto.bet.beteran.member_class.MemberClass, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.clearMemberClassesList = function() { - return this.setMemberClassesList([]); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result.prototype.clearMemberClassesList = + function () { + return this.setMemberClassesList([]); + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.ListMemberClassesResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesResponse} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.ListMemberClassesResponse} returns this */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.GetMemberClassRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.GetMemberClassRequest.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_class.GetMemberClassRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.GetMemberClassRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_class.ListMemberClassesResponse.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_class.GetMemberClassRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.GetMemberClassRequest.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_class.GetMemberClassRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.GetMemberClassRequest.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_class.GetMemberClassRequest} */ -proto.bet.beteran.c2se.member_class.GetMemberClassRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.GetMemberClassRequest; - return proto.bet.beteran.c2se.member_class.GetMemberClassRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member_class.GetMemberClassRequest(); + return proto.bet.beteran.c2se.member_class.GetMemberClassRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1816,36 +2170,39 @@ proto.bet.beteran.c2se.member_class.GetMemberClassRequest.deserializeBinary = fu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassRequest} */ -proto.bet.beteran.c2se.member_class.GetMemberClassRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.GetMemberClassRequest.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_class.GetMemberClassRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.GetMemberClassRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.GetMemberClassRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1854,91 +2211,101 @@ proto.bet.beteran.c2se.member_class.GetMemberClassRequest.prototype.serializeBin * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.GetMemberClassRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassRequest.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_class.GetMemberClassRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.GetMemberClassRequest.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_class.GetMemberClassResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_class.GetMemberClassRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.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_class.GetMemberClassResponse} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.GetMemberClassResponse; - return proto.bet.beteran.c2se.member_class.GetMemberClassResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member_class.GetMemberClassResponse(); + return proto.bet.beteran.c2se.member_class.GetMemberClassResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1947,42 +2314,53 @@ proto.bet.beteran.c2se.member_class.GetMemberClassResponse.deserializeBinary = f * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassResponse} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.GetMemberClassResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1991,81 +2369,85 @@ proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.serializeBi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.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_class.GetMemberClassResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberClass: (f = msg.getMemberClass()) && models_member_class_pb.MemberClass.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.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_class.GetMemberClassResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberClass: + (f = msg.getMemberClass()) && + models_member_class_pb.MemberClass.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_class.GetMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result; - return proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result(); + return proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2074,37 +2456,43 @@ proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.deserializeBin * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class_pb.MemberClass(); + reader.readMessage( + value, + models_member_class_pb.MemberClass.deserializeBinaryFromReader + ); + msg.setMemberClass(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_class_pb.MemberClass; - reader.readMessage(value,models_member_class_pb.MemberClass.deserializeBinaryFromReader); - msg.setMemberClass(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_class.GetMemberClassResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2113,187 +2501,199 @@ proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.seri * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberClass(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_class_pb.MemberClass.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberClass(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_class_pb.MemberClass.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_class.MemberClass member_class = 1; * @return {?proto.bet.beteran.member_class.MemberClass} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.getMemberClass = function() { - return /** @type{?proto.bet.beteran.member_class.MemberClass} */ ( - jspb.Message.getWrapperField(this, models_member_class_pb.MemberClass, 1)); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.getMemberClass = + function () { + return /** @type{?proto.bet.beteran.member_class.MemberClass} */ ( + jspb.Message.getWrapperField(this, models_member_class_pb.MemberClass, 1) + ); + }; /** * @param {?proto.bet.beteran.member_class.MemberClass|undefined} value * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.setMemberClass = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.setMemberClass = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result} returns this */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.clearMemberClass = function() { - return this.setMemberClass(undefined); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.clearMemberClass = + function () { + return this.setMemberClass(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.hasMemberClass = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result.prototype.hasMemberClass = + 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_class.GetMemberClassResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.GetMemberClassResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassResponse} returns this */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_class.GetMemberClassResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.GetMemberClassResponse} returns this */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.UpdateMemberClassRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.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_class.UpdateMemberClassRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - parentId: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) +proto.bet.beteran.c2se.member_class.GetMemberClassResponse.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_class.UpdateMemberClassRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.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_class.UpdateMemberClassRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + parentId: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + }; + + 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_class.UpdateMemberClassRequest} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest; - return proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest(); + return proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2302,48 +2702,51 @@ proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.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.setParentId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(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.setParentId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(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_class.UpdateMemberClassRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2352,184 +2755,192 @@ proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.serialize * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.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 = message.getName(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getShow(); - if (f) { - writer.writeBool( - 4, - f - ); - } -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.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 = message.getName(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = message.getShow(); + if (f) { + writer.writeBool(4, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string parent_id = 2; * @return {string} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.getParentId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.getParentId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.setParentId = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.setParentId = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.clearParentId = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.clearParentId = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.hasParentId = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.hasParentId = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional string name = 3; * @return {string} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; /** * optional bool show = 4; * @return {boolean} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.getShow = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.setShow = function(value) { - return jspb.Message.setProto3BooleanField(this, 4, 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_class.UpdateMemberClassResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_class.UpdateMemberClassRequest.prototype.setShow = + function (value) { + return jspb.Message.setProto3BooleanField(this, 4, 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_class.UpdateMemberClassResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse; - return proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse(); + return proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2538,42 +2949,53 @@ proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.deserializeBinary * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2582,81 +3004,85 @@ proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.serializ * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberClass: (f = msg.getMemberClass()) && models_member_class_pb.MemberClass.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberClass: + (f = msg.getMemberClass()) && + models_member_class_pb.MemberClass.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_class.UpdateMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result; - return proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result(); + return proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2665,37 +3091,43 @@ proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.deserialize * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class_pb.MemberClass(); + reader.readMessage( + value, + models_member_class_pb.MemberClass.deserializeBinaryFromReader + ); + msg.setMemberClass(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_class_pb.MemberClass; - reader.readMessage(value,models_member_class_pb.MemberClass.deserializeBinaryFromReader); - msg.setMemberClass(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_class.UpdateMemberClassResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2704,184 +3136,196 @@ proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.s * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberClass(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_class_pb.MemberClass.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberClass(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_class_pb.MemberClass.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_class.MemberClass member_class = 1; * @return {?proto.bet.beteran.member_class.MemberClass} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.getMemberClass = function() { - return /** @type{?proto.bet.beteran.member_class.MemberClass} */ ( - jspb.Message.getWrapperField(this, models_member_class_pb.MemberClass, 1)); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.getMemberClass = + function () { + return /** @type{?proto.bet.beteran.member_class.MemberClass} */ ( + jspb.Message.getWrapperField(this, models_member_class_pb.MemberClass, 1) + ); + }; /** * @param {?proto.bet.beteran.member_class.MemberClass|undefined} value * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.setMemberClass = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.setMemberClass = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result} returns this */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.clearMemberClass = function() { - return this.setMemberClass(undefined); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.clearMemberClass = + function () { + return this.setMemberClass(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.hasMemberClass = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result.prototype.hasMemberClass = + 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_class.UpdateMemberClassResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.UpdateMemberClassResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse} returns this */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse} returns this */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.DeleteMemberClassRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.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_class.DeleteMemberClassRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_class.UpdateMemberClassResponse.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_class.DeleteMemberClassRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.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_class.DeleteMemberClassRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.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_class.DeleteMemberClassRequest} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest; - return proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest(); + return proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2890,36 +3334,39 @@ proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.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_class.DeleteMemberClassRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2928,91 +3375,102 @@ proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.prototype.serialize * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.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_class.DeleteMemberClassRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest} returns this */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.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_class.DeleteMemberClassResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_class.DeleteMemberClassRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse; - return proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse(); + return proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3021,42 +3479,53 @@ proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.deserializeBinary * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3065,81 +3534,81 @@ proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.serializ * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result; - return proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result(); + return proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3148,32 +3617,35 @@ proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.deserialize * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3182,83 +3654,89 @@ proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.prototype.s * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.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_class.DeleteMemberClassResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse} returns this */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse} returns this -*/ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse} returns this */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_class.DeleteMemberClassResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; goog.object.extend(exports, proto.bet.beteran.c2se.member_class); diff --git a/src/app/modules/proto/c2se/member_game_setting_pb.d.ts b/src/app/modules/proto/c2se/member_game_setting_pb.d.ts index 33976d7..b64512b 100644 --- a/src/app/modules/proto/c2se/member_game_setting_pb.d.ts +++ b/src/app/modules/proto/c2se/member_game_setting_pb.d.ts @@ -251,6 +251,9 @@ export namespace ListMemberGameSettingsResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMemberGameSettingsList(): void; getMemberGameSettingsList(): Array; setMemberGameSettingsList( @@ -281,6 +284,7 @@ export namespace ListMemberGameSettingsResponse { export namespace Result { export type AsObject = { + totalCount: number; memberGameSettingsList: Array; }; } diff --git a/src/app/modules/proto/c2se/member_game_setting_pb.js b/src/app/modules/proto/c2se/member_game_setting_pb.js index f5be0d8..d2e7312 100644 --- a/src/app/modules/proto/c2se/member_game_setting_pb.js +++ b/src/app/modules/proto/c2se/member_game_setting_pb.js @@ -1884,7 +1884,7 @@ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.serial * @const */ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.repeatedFields_ = - [1]; + [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -1920,6 +1920,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { function (includeInstance, msg) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), memberGameSettingsList: jspb.Message.toObjectList( msg.getMemberGameSettingsList(), models_member_game_setting_pb.MemberGameSetting.toObject, @@ -1966,6 +1967,10 @@ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_member_game_setting_pb.MemberGameSetting(); reader.readMessage( value, @@ -2006,10 +2011,14 @@ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getMemberGameSettingsList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter ); @@ -2017,7 +2026,25 @@ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result }; /** - * repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 2; * @return {!Array} */ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.getMemberGameSettingsList = @@ -2026,7 +2053,7 @@ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result jspb.Message.getRepeatedWrapperField( this, models_member_game_setting_pb.MemberGameSetting, - 1 + 2 ) ); }; @@ -2037,7 +2064,7 @@ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result */ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.setMemberGameSettingsList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -2049,7 +2076,7 @@ proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.member_game_setting.MemberGameSetting, opt_index diff --git a/src/app/modules/proto/c2se/member_level_pb.d.ts b/src/app/modules/proto/c2se/member_level_pb.d.ts index cbd3aec..41ea50c 100644 --- a/src/app/modules/proto/c2se/member_level_pb.d.ts +++ b/src/app/modules/proto/c2se/member_level_pb.d.ts @@ -1,10 +1,10 @@ // package: bet.beteran.c2se.member_level // file: c2se/member_level.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_level_pb from "../models/member_level_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_level_pb from '../models/member_level_pb'; export class CreateMemberLevelRequest extends jspb.Message { getName(): string; @@ -18,20 +18,31 @@ export class CreateMemberLevelRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberLevelRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberLevelRequest): CreateMemberLevelRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberLevelRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberLevelRequest + ): CreateMemberLevelRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberLevelRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberLevelRequest; - static deserializeBinaryFromReader(message: CreateMemberLevelRequest, reader: jspb.BinaryReader): CreateMemberLevelRequest; + static deserializeBinaryFromReader( + message: CreateMemberLevelRequest, + reader: jspb.BinaryReader + ): CreateMemberLevelRequest; } export namespace CreateMemberLevelRequest { export type AsObject = { - name: string, - show: boolean, - sortOrder: number, - } + name: string; + show: boolean; + sortOrder: number; + }; } export class CreateMemberLevelResponse extends jspb.Message { @@ -47,19 +58,30 @@ export class CreateMemberLevelResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberLevelResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateMemberLevelResponse): CreateMemberLevelResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateMemberLevelResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateMemberLevelResponse + ): CreateMemberLevelResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberLevelResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateMemberLevelResponse; - static deserializeBinaryFromReader(message: CreateMemberLevelResponse, reader: jspb.BinaryReader): CreateMemberLevelResponse; + static deserializeBinaryFromReader( + message: CreateMemberLevelResponse, + reader: jspb.BinaryReader + ): CreateMemberLevelResponse; } export namespace CreateMemberLevelResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: CreateMemberLevelResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateMemberLevelResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberLevel(): boolean; @@ -70,17 +92,25 @@ export namespace CreateMemberLevelResponse { 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 = { - memberLevel?: models_member_level_pb.MemberLevel.AsObject, - } + memberLevel?: models_member_level_pb.MemberLevel.AsObject; + }; } } @@ -93,7 +123,10 @@ export class ListMemberLevelsRequest 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; @@ -102,20 +135,31 @@ export class ListMemberLevelsRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberLevelsRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberLevelsRequest): ListMemberLevelsRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberLevelsRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberLevelsRequest + ): ListMemberLevelsRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberLevelsRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberLevelsRequest; - static deserializeBinaryFromReader(message: ListMemberLevelsRequest, reader: jspb.BinaryReader): ListMemberLevelsRequest; + static deserializeBinaryFromReader( + message: ListMemberLevelsRequest, + reader: jspb.BinaryReader + ): ListMemberLevelsRequest; } export namespace ListMemberLevelsRequest { export type AsObject = { - pagination?: protobuf_pagination_pb.Pagination.AsObject, - sortsList: Array, - search?: ListMemberLevelsRequest.Search.AsObject, - } + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListMemberLevelsRequest.Search.AsObject; + }; export class Search extends jspb.Message { hasNameLike(): boolean; @@ -131,18 +175,26 @@ export namespace ListMemberLevelsRequest { 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 = { - nameLike: string, - show: boolean, - } + nameLike: string; + show: boolean; + }; } } @@ -159,40 +211,66 @@ export class ListMemberLevelsResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListMemberLevelsResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListMemberLevelsResponse): ListMemberLevelsResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListMemberLevelsResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListMemberLevelsResponse + ): ListMemberLevelsResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberLevelsResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListMemberLevelsResponse; - static deserializeBinaryFromReader(message: ListMemberLevelsResponse, reader: jspb.BinaryReader): ListMemberLevelsResponse; + static deserializeBinaryFromReader( + message: ListMemberLevelsResponse, + reader: jspb.BinaryReader + ): ListMemberLevelsResponse; } export namespace ListMemberLevelsResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: ListMemberLevelsResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListMemberLevelsResponse.Result.AsObject; + }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMemberLevelsList(): void; getMemberLevelsList(): Array; setMemberLevelsList(value: Array): void; - addMemberLevels(value?: models_member_level_pb.MemberLevel, index?: number): models_member_level_pb.MemberLevel; + addMemberLevels( + value?: models_member_level_pb.MemberLevel, + index?: number + ): models_member_level_pb.MemberLevel; 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 = { - memberLevelsList: Array, - } + totalCount: number; + memberLevelsList: Array; + }; } } @@ -202,18 +280,29 @@ export class GetMemberLevelRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberLevelRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberLevelRequest): GetMemberLevelRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberLevelRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberLevelRequest + ): GetMemberLevelRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberLevelRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberLevelRequest; - static deserializeBinaryFromReader(message: GetMemberLevelRequest, reader: jspb.BinaryReader): GetMemberLevelRequest; + static deserializeBinaryFromReader( + message: GetMemberLevelRequest, + reader: jspb.BinaryReader + ): GetMemberLevelRequest; } export namespace GetMemberLevelRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class GetMemberLevelResponse extends jspb.Message { @@ -229,19 +318,30 @@ export class GetMemberLevelResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetMemberLevelResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetMemberLevelResponse): GetMemberLevelResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetMemberLevelResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetMemberLevelResponse + ): GetMemberLevelResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberLevelResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetMemberLevelResponse; - static deserializeBinaryFromReader(message: GetMemberLevelResponse, reader: jspb.BinaryReader): GetMemberLevelResponse; + static deserializeBinaryFromReader( + message: GetMemberLevelResponse, + reader: jspb.BinaryReader + ): GetMemberLevelResponse; } export namespace GetMemberLevelResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetMemberLevelResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberLevelResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberLevel(): boolean; @@ -252,17 +352,25 @@ export namespace GetMemberLevelResponse { 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 = { - memberLevel?: models_member_level_pb.MemberLevel.AsObject, - } + memberLevel?: models_member_level_pb.MemberLevel.AsObject; + }; } } @@ -281,21 +389,32 @@ export class UpdateMemberLevelRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberLevelRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberLevelRequest): UpdateMemberLevelRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberLevelRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberLevelRequest + ): UpdateMemberLevelRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberLevelRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberLevelRequest; - static deserializeBinaryFromReader(message: UpdateMemberLevelRequest, reader: jspb.BinaryReader): UpdateMemberLevelRequest; + static deserializeBinaryFromReader( + message: UpdateMemberLevelRequest, + reader: jspb.BinaryReader + ): UpdateMemberLevelRequest; } export namespace UpdateMemberLevelRequest { export type AsObject = { - id: string, - name: string, - show: boolean, - sortOrder: number, - } + id: string; + name: string; + show: boolean; + sortOrder: number; + }; } export class UpdateMemberLevelResponse extends jspb.Message { @@ -311,19 +430,30 @@ export class UpdateMemberLevelResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberLevelResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateMemberLevelResponse): UpdateMemberLevelResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateMemberLevelResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateMemberLevelResponse + ): UpdateMemberLevelResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberLevelResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateMemberLevelResponse; - static deserializeBinaryFromReader(message: UpdateMemberLevelResponse, reader: jspb.BinaryReader): UpdateMemberLevelResponse; + static deserializeBinaryFromReader( + message: UpdateMemberLevelResponse, + reader: jspb.BinaryReader + ): UpdateMemberLevelResponse; } export namespace UpdateMemberLevelResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateMemberLevelResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberLevelResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasMemberLevel(): boolean; @@ -334,17 +464,25 @@ export namespace UpdateMemberLevelResponse { 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 = { - memberLevel?: models_member_level_pb.MemberLevel.AsObject, - } + memberLevel?: models_member_level_pb.MemberLevel.AsObject; + }; } } @@ -354,18 +492,29 @@ export class DeleteMemberLevelRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberLevelRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberLevelRequest): DeleteMemberLevelRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberLevelRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberLevelRequest + ): DeleteMemberLevelRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberLevelRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberLevelRequest; - static deserializeBinaryFromReader(message: DeleteMemberLevelRequest, reader: jspb.BinaryReader): DeleteMemberLevelRequest; + static deserializeBinaryFromReader( + message: DeleteMemberLevelRequest, + reader: jspb.BinaryReader + ): DeleteMemberLevelRequest; } export namespace DeleteMemberLevelRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class DeleteMemberLevelResponse extends jspb.Message { @@ -381,34 +530,51 @@ export class DeleteMemberLevelResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteMemberLevelResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteMemberLevelResponse): DeleteMemberLevelResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteMemberLevelResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteMemberLevelResponse + ): DeleteMemberLevelResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberLevelResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteMemberLevelResponse; - static deserializeBinaryFromReader(message: DeleteMemberLevelResponse, reader: jspb.BinaryReader): DeleteMemberLevelResponse; + static deserializeBinaryFromReader( + message: DeleteMemberLevelResponse, + reader: jspb.BinaryReader + ): DeleteMemberLevelResponse; } export namespace DeleteMemberLevelResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: DeleteMemberLevelResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteMemberLevelResponse.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_level_pb.js b/src/app/modules/proto/c2se/member_level_pb.js index 41b01ed..5f42c19 100644 --- a/src/app/modules/proto/c2se/member_level_pb.js +++ b/src/app/modules/proto/c2se/member_level_pb.js @@ -11,32 +11,98 @@ /* eslint-disable */ // @ts-nocheck -var jspb = require('google-protobuf'); +var jspb = require("google-protobuf"); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); -var protobuf_rpc_pb = require('../protobuf/rpc_pb.js'); +var protobuf_rpc_pb = require("../protobuf/rpc_pb.js"); goog.object.extend(proto, protobuf_rpc_pb); -var protobuf_pagination_pb = require('../protobuf/pagination_pb.js'); +var protobuf_pagination_pb = require("../protobuf/pagination_pb.js"); goog.object.extend(proto, protobuf_pagination_pb); -var models_member_level_pb = require('../models/member_level_pb.js'); +var models_member_level_pb = require("../models/member_level_pb.js"); goog.object.extend(proto, models_member_level_pb); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.GetMemberLevelRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.GetMemberLevelResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result', null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.GetMemberLevelRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.GetMemberLevelResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -47,16 +113,22 @@ goog.exportSymbol('proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest = function(opt_data) { +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.displayName = 'proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest'; + proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.displayName = + "proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest"; } /** * Generated by JsPbCodeGenerator. @@ -68,16 +140,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse = function(opt_data) { +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.displayName = 'proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse'; + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.displayName = + "proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse"; } /** * Generated by JsPbCodeGenerator. @@ -89,16 +167,82 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.displayName = + "proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest = function ( + opt_data +) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.repeatedFields_, + null + ); +}; +goog.inherits( + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.displayName = + "proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest"; +} +/** + * 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_level.ListMemberLevelsRequest.Search = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result'; + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.displayName = + "proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search"; } /** * Generated by JsPbCodeGenerator. @@ -110,37 +254,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.displayName = 'proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest'; -} -/** - * 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_level.ListMemberLevelsRequest.Search = function(opt_data) { +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.displayName = 'proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search'; + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.displayName = + "proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse"; } /** * Generated by JsPbCodeGenerator. @@ -152,16 +281,57 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse = function(opt_data) { +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result = function ( + opt_data +) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result + .repeatedFields_, + null + ); +}; +goog.inherits( + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.displayName = + "proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result"; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_level.GetMemberLevelRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.GetMemberLevelRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.displayName = 'proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse'; + proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.displayName = + "proto.bet.beteran.c2se.member_level.GetMemberLevelRequest"; } /** * Generated by JsPbCodeGenerator. @@ -173,37 +343,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.repeatedFields_, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.bet.beteran.c2se.member_level.GetMemberLevelRequest = function(opt_data) { +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.GetMemberLevelRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.displayName = 'proto.bet.beteran.c2se.member_level.GetMemberLevelRequest'; + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.displayName = + "proto.bet.beteran.c2se.member_level.GetMemberLevelResponse"; } /** * Generated by JsPbCodeGenerator. @@ -215,16 +370,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse = function(opt_data) { +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.GetMemberLevelResponse, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.displayName = 'proto.bet.beteran.c2se.member_level.GetMemberLevelResponse'; + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.displayName = + "proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -236,16 +397,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result'; + proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.displayName = + "proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest"; } /** * Generated by JsPbCodeGenerator. @@ -257,16 +424,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest = function(opt_data) { +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.displayName = 'proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest'; + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.displayName = + "proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse"; } /** * Generated by JsPbCodeGenerator. @@ -278,16 +451,21 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse, jspb.Message); +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.displayName = 'proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse'; + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.displayName = + "proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -299,16 +477,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result'; + proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.displayName = + "proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest"; } /** * Generated by JsPbCodeGenerator. @@ -320,16 +504,22 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest = function(opt_data) { +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse = function ( + opt_data +) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.displayName = 'proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest'; + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.displayName = + "proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse"; } /** * Generated by JsPbCodeGenerator. @@ -341,94 +531,84 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse, jspb.Message); +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.displayName = 'proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse'; + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.displayName = + "proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result"; } -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.CreateMemberLevelRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.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_level.CreateMemberLevelRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.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_level.CreateMemberLevelRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0), + }; -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 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_level.CreateMemberLevelRequest} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest; - return proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest(); + return proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -437,44 +617,47 @@ proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint32()); + msg.setSortOrder(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(value); - break; - case 3: - var value = /** @type {number} */ (reader.readUint32()); - msg.setSortOrder(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_level.CreateMemberLevelRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -483,141 +666,148 @@ proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.serialize * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getShow(); - if (f) { - writer.writeBool( - 2, - f - ); - } - f = message.getSortOrder(); - if (f !== 0) { - writer.writeUint32( - 3, - f - ); - } -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getShow(); + if (f) { + writer.writeBool(2, f); + } + f = message.getSortOrder(); + if (f !== 0) { + writer.writeUint32(3, f); + } + }; /** * optional string name = 1; * @return {string} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional bool show = 2; * @return {boolean} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getShow = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setShow = function(value) { - return jspb.Message.setProto3BooleanField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setShow = + function (value) { + return jspb.Message.setProto3BooleanField(this, 2, value); + }; /** * optional uint32 sort_order = 3; * @return {number} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getSortOrder = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getSortOrder = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setSortOrder = function(value) { - return jspb.Message.setProto3IntField(this, 3, 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_level.CreateMemberLevelResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setSortOrder = + function (value) { + return jspb.Message.setProto3IntField(this, 3, 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_level.CreateMemberLevelResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse; - return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse(); + return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -626,42 +816,53 @@ proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinary * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -670,81 +871,85 @@ proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.serializ * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberLevel: (f = msg.getMemberLevel()) && models_member_level_pb.MemberLevel.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberLevel: + (f = msg.getMemberLevel()) && + models_member_level_pb.MemberLevel.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_level.CreateMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result; - return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result(); + return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -753,37 +958,43 @@ proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserialize * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level_pb.MemberLevel(); + reader.readMessage( + value, + models_member_level_pb.MemberLevel.deserializeBinaryFromReader + ); + msg.setMemberLevel(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_level_pb.MemberLevel; - reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader); - msg.setMemberLevel(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_level.CreateMemberLevelResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -792,194 +1003,217 @@ proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.s * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberLevel(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_level_pb.MemberLevel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberLevel(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_level_pb.MemberLevel.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_level.MemberLevel member_level = 1; * @return {?proto.bet.beteran.member_level.MemberLevel} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.getMemberLevel = function() { - return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ ( - jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1)); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.getMemberLevel = + function () { + return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ ( + jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1) + ); + }; /** * @param {?proto.bet.beteran.member_level.MemberLevel|undefined} value * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.setMemberLevel = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.setMemberLevel = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} returns this */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.clearMemberLevel = function() { - return this.setMemberLevel(undefined); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.clearMemberLevel = + function () { + return this.setMemberLevel(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.hasMemberLevel = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.hasMemberLevel = + 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_level.CreateMemberLevelResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.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_level.CreateMemberLevelResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} returns this */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} returns this */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.repeatedFields_ = [2]; - - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest; - return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest(); + return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -988,47 +1222,61 @@ proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.Search; - reader.readMessage(value,proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1037,90 +1285,96 @@ proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.serializeB * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.Search.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.Search} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.toObject = function(includeInstance, msg) { - var f, obj = { - nameLike: jspb.Message.getFieldWithDefault(msg, 1, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.toObject = + function (includeInstance, msg) { + var f, + obj = { + nameLike: jspb.Message.getFieldWithDefault(msg, 1, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + }; + + 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_level.ListMemberLevelsRequest.Search} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search; - return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search(); + return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1129,40 +1383,43 @@ proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBi * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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.setNameLike(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setNameLike(value); - break; - case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(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_level.ListMemberLevelsRequest.Search.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1171,264 +1428,287 @@ proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.ser * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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 {boolean} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeBool( - 2, - f - ); - } -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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 {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool(2, f); + } + }; /** * optional string name_like = 1; * @return {string} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.getNameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.getNameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.setNameLike = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.setNameLike = + function (value) { + return jspb.Message.setField(this, 1, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.clearNameLike = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.clearNameLike = + function () { + return jspb.Message.setField(this, 1, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.hasNameLike = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.hasNameLike = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional bool show = 2; * @return {boolean} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.getShow = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.setShow = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.setShow = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.clearShow = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.clearShow = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.hasShow = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.hasShow = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.getPagination = function() { - return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( - jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1)); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest} returns this -*/ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.setPagination = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.setPagination = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearPagination = function() { - return this.setPagination(undefined); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.hasPagination = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.hasPagination = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * repeated bet.protobuf.pagination.Sort sorts = 2; * @return {!Array} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.getSortsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.getSortsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this -*/ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.setSortsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearSortsList = function() { - return this.setSortsList([]); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.getSearch = function() { - return /** @type{?proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search, 3)); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.getSearch = + function () { + return /** @type{?proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search, + 3 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this -*/ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.setSearch = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.setSearch = + function (value) { + return jspb.Message.setWrapperField(this, 3, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearSearch = function() { - return this.setSearch(undefined); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse; - return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse(); + return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1437,42 +1717,53 @@ proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1481,89 +1772,96 @@ proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.serialize * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.Result.serializeBinaryToWriter - ); - } -}; - - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.Result + .serializeBinaryToWriter + ); + } + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.repeatedFields_ = [1]; - - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.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_level.ListMemberLevelsResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), + memberLevelsList: jspb.Message.toObjectList( + msg.getMemberLevelsList(), + models_member_level_pb.MemberLevel.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_level.ListMemberLevelsResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberLevelsList: jspb.Message.toObjectList(msg.getMemberLevelsList(), - models_member_level_pb.MemberLevel.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_level.ListMemberLevelsResponse.Result} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result; - return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result(); + return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1572,37 +1870,47 @@ proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeB * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: + var value = new models_member_level_pb.MemberLevel(); + reader.readMessage( + value, + models_member_level_pb.MemberLevel.deserializeBinaryFromReader + ); + msg.addMemberLevels(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_level_pb.MemberLevel; - reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader); - msg.addMemberLevels(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_level.ListMemberLevelsResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1611,185 +1919,228 @@ proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.se * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberLevelsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - models_member_level_pb.MemberLevel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } + f = message.getMemberLevelsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + models_member_level_pb.MemberLevel.serializeBinaryToWriter + ); + } + }; /** - * repeated bet.beteran.member_level.MemberLevel member_levels = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member_level.MemberLevel member_levels = 2; * @return {!Array} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.getMemberLevelsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_member_level_pb.MemberLevel, 1)); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.getMemberLevelsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField( + this, + models_member_level_pb.MemberLevel, + 2 + ) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.setMemberLevelsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.setMemberLevelsList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); + }; /** * @param {!proto.bet.beteran.member_level.MemberLevel=} opt_value * @param {number=} opt_index * @return {!proto.bet.beteran.member_level.MemberLevel} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.addMemberLevels = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.member_level.MemberLevel, opt_index); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.addMemberLevels = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 2, + opt_value, + proto.bet.beteran.member_level.MemberLevel, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.clearMemberLevelsList = function() { - return this.setMemberLevelsList([]); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.clearMemberLevelsList = + function () { + return this.setMemberLevelsList([]); + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} returns this */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.GetMemberLevelRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.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_level.GetMemberLevelRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.GetMemberLevelRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.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_level.GetMemberLevelRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.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_level.GetMemberLevelRequest} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.GetMemberLevelRequest; - return proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member_level.GetMemberLevelRequest(); + return proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1798,36 +2149,39 @@ proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinary = fu * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelRequest} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.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_level.GetMemberLevelRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1836,91 +2190,101 @@ proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.prototype.serializeBin * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.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_level.GetMemberLevelRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.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_level.GetMemberLevelResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.GetMemberLevelResponse; - return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.member_level.GetMemberLevelResponse(); + return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1929,42 +2293,53 @@ proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinary = f * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1973,81 +2348,85 @@ proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.serializeBi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberLevel: (f = msg.getMemberLevel()) && models_member_level_pb.MemberLevel.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberLevel: + (f = msg.getMemberLevel()) && + models_member_level_pb.MemberLevel.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_level.GetMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result; - return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result(); + return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2056,37 +2435,43 @@ proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBin * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level_pb.MemberLevel(); + reader.readMessage( + value, + models_member_level_pb.MemberLevel.deserializeBinaryFromReader + ); + msg.setMemberLevel(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_level_pb.MemberLevel; - reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader); - msg.setMemberLevel(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_level.GetMemberLevelResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2095,187 +2480,199 @@ proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.seri * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberLevel(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_level_pb.MemberLevel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberLevel(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_level_pb.MemberLevel.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_level.MemberLevel member_level = 1; * @return {?proto.bet.beteran.member_level.MemberLevel} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.getMemberLevel = function() { - return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ ( - jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1)); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.getMemberLevel = + function () { + return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ ( + jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1) + ); + }; /** * @param {?proto.bet.beteran.member_level.MemberLevel|undefined} value * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.setMemberLevel = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.setMemberLevel = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} returns this */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.clearMemberLevel = function() { - return this.setMemberLevel(undefined); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.clearMemberLevel = + function () { + return this.setMemberLevel(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.hasMemberLevel = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.hasMemberLevel = + 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_level.GetMemberLevelResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.GetMemberLevelResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} returns this */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} returns this */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.UpdateMemberLevelRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.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_level.UpdateMemberLevelRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - sortOrder: jspb.Message.getFieldWithDefault(msg, 4, 0) +proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.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_level.UpdateMemberLevelRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.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_level.UpdateMemberLevelRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + sortOrder: jspb.Message.getFieldWithDefault(msg, 4, 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_level.UpdateMemberLevelRequest} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest; - return proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest(); + return proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2284,48 +2681,51 @@ proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.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.setName(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint32()); + msg.setSortOrder(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.setName(value); - break; - case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(value); - break; - case 4: - var value = /** @type {number} */ (reader.readUint32()); - msg.setSortOrder(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_level.UpdateMemberLevelRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2334,166 +2734,172 @@ proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.serialize * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getShow(); - if (f) { - writer.writeBool( - 3, - f - ); - } - f = message.getSortOrder(); - if (f !== 0) { - writer.writeUint32( - 4, - f - ); - } -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getShow(); + if (f) { + writer.writeBool(3, f); + } + f = message.getSortOrder(); + if (f !== 0) { + writer.writeUint32(4, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setId = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; /** * optional string name = 2; * @return {string} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getName = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setName = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; /** * optional bool show = 3; * @return {boolean} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getShow = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setShow = function(value) { - return jspb.Message.setProto3BooleanField(this, 3, value); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setShow = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; /** * optional uint32 sort_order = 4; * @return {number} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getSortOrder = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getSortOrder = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setSortOrder = function(value) { - return jspb.Message.setProto3IntField(this, 4, 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_level.UpdateMemberLevelResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setSortOrder = + function (value) { + return jspb.Message.setProto3IntField(this, 4, 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_level.UpdateMemberLevelResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse; - return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse(); + return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2502,42 +2908,53 @@ proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinary * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2546,81 +2963,85 @@ proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.serializ * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - memberLevel: (f = msg.getMemberLevel()) && models_member_level_pb.MemberLevel.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberLevel: + (f = msg.getMemberLevel()) && + models_member_level_pb.MemberLevel.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_level.UpdateMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result; - return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result(); + return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2629,37 +3050,43 @@ proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserialize * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level_pb.MemberLevel(); + reader.readMessage( + value, + models_member_level_pb.MemberLevel.deserializeBinaryFromReader + ); + msg.setMemberLevel(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_member_level_pb.MemberLevel; - reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader); - msg.setMemberLevel(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_level.UpdateMemberLevelResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2668,184 +3095,196 @@ proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.s * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getMemberLevel(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_member_level_pb.MemberLevel.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberLevel(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_level_pb.MemberLevel.serializeBinaryToWriter + ); + } + }; /** * optional bet.beteran.member_level.MemberLevel member_level = 1; * @return {?proto.bet.beteran.member_level.MemberLevel} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.getMemberLevel = function() { - return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ ( - jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1)); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.getMemberLevel = + function () { + return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ ( + jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1) + ); + }; /** * @param {?proto.bet.beteran.member_level.MemberLevel|undefined} value * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} returns this -*/ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.setMemberLevel = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.setMemberLevel = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} returns this */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.clearMemberLevel = function() { - return this.setMemberLevel(undefined); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.clearMemberLevel = + function () { + return this.setMemberLevel(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.hasMemberLevel = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.hasMemberLevel = + 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_level.UpdateMemberLevelResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.UpdateMemberLevelResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} returns this */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} returns this */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.DeleteMemberLevelRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.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_level.DeleteMemberLevelRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.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_level.DeleteMemberLevelRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.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_level.DeleteMemberLevelRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.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_level.DeleteMemberLevelRequest} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest; - return proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest(); + return proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2854,36 +3293,39 @@ proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinary = * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.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_level.DeleteMemberLevelRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2892,91 +3334,102 @@ proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.prototype.serialize * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.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_level.DeleteMemberLevelRequest.prototype.getId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest} returns this */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.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_level.DeleteMemberLevelResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse; - return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse(); + return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2985,42 +3438,53 @@ proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinary * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3029,81 +3493,81 @@ proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.serializ * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result; - return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result(); + return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3112,32 +3576,35 @@ proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserialize * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3146,83 +3613,89 @@ proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.prototype.s * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.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_level.DeleteMemberLevelResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.setError = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} returns this */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} returns this -*/ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - + */ +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} returns this */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; goog.object.extend(exports, proto.bet.beteran.c2se.member_level); diff --git a/src/app/modules/proto/c2se/member_pb.d.ts b/src/app/modules/proto/c2se/member_pb.d.ts index d79c8ea..df05330 100644 --- a/src/app/modules/proto/c2se/member_pb.d.ts +++ b/src/app/modules/proto/c2se/member_pb.d.ts @@ -565,6 +565,9 @@ export namespace ListMembersResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMembersList(): void; getMembersList(): Array; setMembersList(value: Array): void; @@ -593,6 +596,7 @@ export namespace ListMembersResponse { export namespace Result { export type AsObject = { + totalCount: number; membersList: Array; }; } diff --git a/src/app/modules/proto/c2se/member_pb.js b/src/app/modules/proto/c2se/member_pb.js index f6e24f5..c02b416 100644 --- a/src/app/modules/proto/c2se/member_pb.js +++ b/src/app/modules/proto/c2se/member_pb.js @@ -4521,7 +4521,7 @@ proto.bet.beteran.c2se.member.ListMembersResponse.serializeBinaryToWriter = * @private {!Array} * @const */ -proto.bet.beteran.c2se.member.ListMembersResponse.Result.repeatedFields_ = [1]; +proto.bet.beteran.c2se.member.ListMembersResponse.Result.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -4559,6 +4559,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { ) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), membersList: jspb.Message.toObjectList( msg.getMembersList(), models_member_pb.MemberModel.toObject, @@ -4604,6 +4605,10 @@ proto.bet.beteran.c2se.member.ListMembersResponse.Result.deserializeBinaryFromRe var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_member_pb.MemberModel(); reader.readMessage( value, @@ -4643,10 +4648,14 @@ proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.serializeBina proto.bet.beteran.c2se.member.ListMembersResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getMembersList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_member_pb.MemberModel.serializeBinaryToWriter ); @@ -4654,7 +4663,25 @@ proto.bet.beteran.c2se.member.ListMembersResponse.Result.serializeBinaryToWriter }; /** - * repeated bet.beteran.member.MemberModel members = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.ListMembersResponse.Result} returns this + */ +proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member.MemberModel members = 2; * @return {!Array} */ proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.getMembersList = @@ -4663,7 +4690,7 @@ proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.getMembersLis jspb.Message.getRepeatedWrapperField( this, models_member_pb.MemberModel, - 1 + 2 ) ); }; @@ -4674,7 +4701,7 @@ proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.getMembersLis */ proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.setMembersList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -4686,7 +4713,7 @@ proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.addMembers = function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.member.MemberModel, opt_index diff --git a/src/app/modules/proto/c2se/member_referrer_pb.d.ts b/src/app/modules/proto/c2se/member_referrer_pb.d.ts index 972160f..ee35ec0 100644 --- a/src/app/modules/proto/c2se/member_referrer_pb.d.ts +++ b/src/app/modules/proto/c2se/member_referrer_pb.d.ts @@ -346,6 +346,9 @@ export namespace ListMemberReferrersResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMemberReferrersList(): void; getMemberReferrersList(): Array; setMemberReferrersList( @@ -376,6 +379,7 @@ export namespace ListMemberReferrersResponse { export namespace Result { export type AsObject = { + totalCount: number; memberReferrersList: Array; }; } diff --git a/src/app/modules/proto/c2se/member_referrer_pb.js b/src/app/modules/proto/c2se/member_referrer_pb.js index f91d6a4..58cf8cf 100644 --- a/src/app/modules/proto/c2se/member_referrer_pb.js +++ b/src/app/modules/proto/c2se/member_referrer_pb.js @@ -2681,7 +2681,7 @@ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.serializeBina * @const */ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.repeatedFields_ = - [1]; + [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -2717,6 +2717,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { function (includeInstance, msg) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), memberReferrersList: jspb.Message.toObjectList( msg.getMemberReferrersList(), models_member_referrer_pb.MemberReferrerModel.toObject, @@ -2763,6 +2764,10 @@ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.deseri var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_member_referrer_pb.MemberReferrerModel(); reader.readMessage( value, @@ -2803,10 +2808,14 @@ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.protot proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getMemberReferrersList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter ); @@ -2814,7 +2823,25 @@ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.serial }; /** - * repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 2; * @return {!Array} */ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.prototype.getMemberReferrersList = @@ -2823,7 +2850,7 @@ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.protot jspb.Message.getRepeatedWrapperField( this, models_member_referrer_pb.MemberReferrerModel, - 1 + 2 ) ); }; @@ -2834,7 +2861,7 @@ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.protot */ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.prototype.setMemberReferrersList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -2846,7 +2873,7 @@ proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.protot function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.member_referrer.MemberReferrerModel, opt_index diff --git a/src/app/modules/proto/c2se/member_settlement_setting_pb.d.ts b/src/app/modules/proto/c2se/member_settlement_setting_pb.d.ts index 21c0c19..b0c7038 100644 --- a/src/app/modules/proto/c2se/member_settlement_setting_pb.d.ts +++ b/src/app/modules/proto/c2se/member_settlement_setting_pb.d.ts @@ -327,6 +327,9 @@ export namespace ListMemberSettlementSettingsResponse { }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearMemberSettlementSettingsList(): void; getMemberSettlementSettingsList(): Array; setMemberSettlementSettingsList( @@ -357,6 +360,7 @@ export namespace ListMemberSettlementSettingsResponse { export namespace Result { export type AsObject = { + totalCount: number; memberSettlementSettingsList: Array; }; } diff --git a/src/app/modules/proto/c2se/member_settlement_setting_pb.js b/src/app/modules/proto/c2se/member_settlement_setting_pb.js index b5c91c6..39f8cf4 100644 --- a/src/app/modules/proto/c2se/member_settlement_setting_pb.js +++ b/src/app/modules/proto/c2se/member_settlement_setting_pb.js @@ -2360,7 +2360,7 @@ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRes * @const */ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.repeatedFields_ = - [1]; + [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -2396,6 +2396,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) { function (includeInstance, msg) { var f, obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), memberSettlementSettingsList: jspb.Message.toObjectList( msg.getMemberSettlementSettingsList(), models_member_settlement_setting_pb.MemberSettlementSetting @@ -2443,6 +2444,10 @@ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRes var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: var value = new models_member_settlement_setting_pb.MemberSettlementSetting(); reader.readMessage( @@ -2484,10 +2489,14 @@ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRes proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.serializeBinaryToWriter = function (message, writer) { var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } f = message.getMemberSettlementSettingsList(); if (f.length > 0) { writer.writeRepeatedMessage( - 1, + 2, f, models_member_settlement_setting_pb.MemberSettlementSetting .serializeBinaryToWriter @@ -2496,7 +2505,25 @@ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRes }; /** - * repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 2; * @return {!Array} */ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.getMemberSettlementSettingsList = @@ -2505,7 +2532,7 @@ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRes jspb.Message.getRepeatedWrapperField( this, models_member_settlement_setting_pb.MemberSettlementSetting, - 1 + 2 ) ); }; @@ -2516,7 +2543,7 @@ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRes */ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.setMemberSettlementSettingsList = function (value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** @@ -2528,7 +2555,7 @@ proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRes function (opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField( this, - 1, + 2, opt_value, proto.bet.beteran.member_settlement_setting.MemberSettlementSetting, opt_index diff --git a/src/app/modules/proto/c2se/site_pb.d.ts b/src/app/modules/proto/c2se/site_pb.d.ts index 8ad3f6d..9c24291 100644 --- a/src/app/modules/proto/c2se/site_pb.d.ts +++ b/src/app/modules/proto/c2se/site_pb.d.ts @@ -1,10 +1,10 @@ // package: bet.beteran.c2se.site // file: c2se/site.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_site_pb from "../models/site_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_site_pb from '../models/site_pb'; export class CreateSiteRequest extends jspb.Message { getUrl(): string; @@ -38,24 +38,35 @@ export class CreateSiteRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateSiteRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateSiteRequest): CreateSiteRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateSiteRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateSiteRequest + ): CreateSiteRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateSiteRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateSiteRequest; - static deserializeBinaryFromReader(message: CreateSiteRequest, reader: jspb.BinaryReader): CreateSiteRequest; + static deserializeBinaryFromReader( + message: CreateSiteRequest, + reader: jspb.BinaryReader + ): CreateSiteRequest; } export namespace CreateSiteRequest { export type AsObject = { - url: string, - name: string, - path: string, - show: boolean, - canUse: boolean, - memo: string, - expiresAt: number, - } + url: string; + name: string; + path: string; + show: boolean; + canUse: boolean; + memo: string; + expiresAt: number; + }; } export class CreateSiteResponse extends jspb.Message { @@ -71,19 +82,30 @@ export class CreateSiteResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateSiteResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateSiteResponse): CreateSiteResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateSiteResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: CreateSiteResponse + ): CreateSiteResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateSiteResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): CreateSiteResponse; - static deserializeBinaryFromReader(message: CreateSiteResponse, reader: jspb.BinaryReader): CreateSiteResponse; + static deserializeBinaryFromReader( + message: CreateSiteResponse, + reader: jspb.BinaryReader + ): CreateSiteResponse; } export namespace CreateSiteResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: CreateSiteResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateSiteResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasSite(): boolean; @@ -94,17 +116,25 @@ export namespace CreateSiteResponse { 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 = { - site?: models_site_pb.Site.AsObject, - } + site?: models_site_pb.Site.AsObject; + }; } } @@ -117,7 +147,10 @@ export class ListSitesRequest 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; @@ -126,20 +159,31 @@ export class ListSitesRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListSitesRequest.AsObject; - static toObject(includeInstance: boolean, msg: ListSitesRequest): ListSitesRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListSitesRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListSitesRequest + ): ListSitesRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListSitesRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListSitesRequest; - static deserializeBinaryFromReader(message: ListSitesRequest, reader: jspb.BinaryReader): ListSitesRequest; + static deserializeBinaryFromReader( + message: ListSitesRequest, + reader: jspb.BinaryReader + ): ListSitesRequest; } export namespace ListSitesRequest { export type AsObject = { - pagination?: protobuf_pagination_pb.Pagination.AsObject, - sortsList: Array, - search?: ListSitesRequest.Search.AsObject, - } + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListSitesRequest.Search.AsObject; + }; export class Search extends jspb.Message { hasUrlLike(): boolean; @@ -175,22 +219,30 @@ export namespace ListSitesRequest { 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 = { - urlLike: string, - nameLike: string, - pathLike: string, - show: boolean, - canUse: boolean, - memoLike: string, - } + urlLike: string; + nameLike: string; + pathLike: string; + show: boolean; + canUse: boolean; + memoLike: string; + }; } } @@ -207,21 +259,35 @@ export class ListSitesResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListSitesResponse.AsObject; - static toObject(includeInstance: boolean, msg: ListSitesResponse): ListSitesResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ListSitesResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: ListSitesResponse + ): ListSitesResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListSitesResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): ListSitesResponse; - static deserializeBinaryFromReader(message: ListSitesResponse, reader: jspb.BinaryReader): ListSitesResponse; + static deserializeBinaryFromReader( + message: ListSitesResponse, + reader: jspb.BinaryReader + ): ListSitesResponse; } export namespace ListSitesResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: ListSitesResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListSitesResponse.Result.AsObject; + }; export class Result extends jspb.Message { + getTotalCount(): number; + setTotalCount(value: number): void; + clearSitesList(): void; getSitesList(): Array; setSitesList(value: Array): void; @@ -230,17 +296,26 @@ export namespace ListSitesResponse { 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 = { - sitesList: Array, - } + totalCount: number; + sitesList: Array; + }; } } @@ -250,18 +325,29 @@ export class GetSiteRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetSiteRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetSiteRequest): GetSiteRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetSiteRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetSiteRequest + ): GetSiteRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetSiteRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetSiteRequest; - static deserializeBinaryFromReader(message: GetSiteRequest, reader: jspb.BinaryReader): GetSiteRequest; + static deserializeBinaryFromReader( + message: GetSiteRequest, + reader: jspb.BinaryReader + ): GetSiteRequest; } export namespace GetSiteRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class GetSiteResponse extends jspb.Message { @@ -277,19 +363,30 @@ export class GetSiteResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetSiteResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetSiteResponse): GetSiteResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetSiteResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: GetSiteResponse + ): GetSiteResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetSiteResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): GetSiteResponse; - static deserializeBinaryFromReader(message: GetSiteResponse, reader: jspb.BinaryReader): GetSiteResponse; + static deserializeBinaryFromReader( + message: GetSiteResponse, + reader: jspb.BinaryReader + ): GetSiteResponse; } export namespace GetSiteResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: GetSiteResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetSiteResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasSite(): boolean; @@ -300,17 +397,25 @@ export namespace GetSiteResponse { 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 = { - site?: models_site_pb.Site.AsObject, - } + site?: models_site_pb.Site.AsObject; + }; } } @@ -349,25 +454,36 @@ export class UpdateSiteRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateSiteRequest.AsObject; - static toObject(includeInstance: boolean, msg: UpdateSiteRequest): UpdateSiteRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateSiteRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateSiteRequest + ): UpdateSiteRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateSiteRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateSiteRequest; - static deserializeBinaryFromReader(message: UpdateSiteRequest, reader: jspb.BinaryReader): UpdateSiteRequest; + static deserializeBinaryFromReader( + message: UpdateSiteRequest, + reader: jspb.BinaryReader + ): UpdateSiteRequest; } export namespace UpdateSiteRequest { export type AsObject = { - id: string, - url: string, - name: string, - path: string, - show: boolean, - canUse: boolean, - memo: string, - expiresAt: number, - } + id: string; + url: string; + name: string; + path: string; + show: boolean; + canUse: boolean; + memo: string; + expiresAt: number; + }; } export class UpdateSiteResponse extends jspb.Message { @@ -383,19 +499,30 @@ export class UpdateSiteResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateSiteResponse.AsObject; - static toObject(includeInstance: boolean, msg: UpdateSiteResponse): UpdateSiteResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: UpdateSiteResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: UpdateSiteResponse + ): UpdateSiteResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateSiteResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): UpdateSiteResponse; - static deserializeBinaryFromReader(message: UpdateSiteResponse, reader: jspb.BinaryReader): UpdateSiteResponse; + static deserializeBinaryFromReader( + message: UpdateSiteResponse, + reader: jspb.BinaryReader + ): UpdateSiteResponse; } export namespace UpdateSiteResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: UpdateSiteResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateSiteResponse.Result.AsObject; + }; export class Result extends jspb.Message { hasSite(): boolean; @@ -406,17 +533,25 @@ export namespace UpdateSiteResponse { 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 = { - site?: models_site_pb.Site.AsObject, - } + site?: models_site_pb.Site.AsObject; + }; } } @@ -426,18 +561,29 @@ export class DeleteSiteRequest extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteSiteRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteSiteRequest): DeleteSiteRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteSiteRequest, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteSiteRequest + ): DeleteSiteRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteSiteRequest, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteSiteRequest; - static deserializeBinaryFromReader(message: DeleteSiteRequest, reader: jspb.BinaryReader): DeleteSiteRequest; + static deserializeBinaryFromReader( + message: DeleteSiteRequest, + reader: jspb.BinaryReader + ): DeleteSiteRequest; } export namespace DeleteSiteRequest { export type AsObject = { - id: string, - } + id: string; + }; } export class DeleteSiteResponse extends jspb.Message { @@ -453,34 +599,51 @@ export class DeleteSiteResponse extends jspb.Message { serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeleteSiteResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteSiteResponse): DeleteSiteResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteSiteResponse, writer: jspb.BinaryWriter): void; + static toObject( + includeInstance: boolean, + msg: DeleteSiteResponse + ): DeleteSiteResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteSiteResponse, + writer: jspb.BinaryWriter + ): void; static deserializeBinary(bytes: Uint8Array): DeleteSiteResponse; - static deserializeBinaryFromReader(message: DeleteSiteResponse, reader: jspb.BinaryReader): DeleteSiteResponse; + static deserializeBinaryFromReader( + message: DeleteSiteResponse, + reader: jspb.BinaryReader + ): DeleteSiteResponse; } export namespace DeleteSiteResponse { export type AsObject = { - error?: protobuf_rpc_pb.Error.AsObject, - result?: DeleteSiteResponse.Result.AsObject, - } + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteSiteResponse.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/site_pb.js b/src/app/modules/proto/c2se/site_pb.js index 243bf29..84c9206 100644 --- a/src/app/modules/proto/c2se/site_pb.js +++ b/src/app/modules/proto/c2se/site_pb.js @@ -11,32 +11,86 @@ /* 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_site_pb = require('../models/site_pb.js'); +var models_site_pb = require("../models/site_pb.js"); goog.object.extend(proto, models_site_pb); -goog.exportSymbol('proto.bet.beteran.c2se.site.CreateSiteRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.CreateSiteResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.CreateSiteResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.DeleteSiteRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.DeleteSiteResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.DeleteSiteResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.GetSiteRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.GetSiteResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.GetSiteResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.ListSitesRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.ListSitesRequest.Search', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.ListSitesResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.ListSitesResponse.Result', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.UpdateSiteRequest', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.UpdateSiteResponse', null, global); -goog.exportSymbol('proto.bet.beteran.c2se.site.UpdateSiteResponse.Result', null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.CreateSiteRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.CreateSiteResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.CreateSiteResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.DeleteSiteRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.DeleteSiteResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.DeleteSiteResponse.Result", + null, + global +); +goog.exportSymbol("proto.bet.beteran.c2se.site.GetSiteRequest", null, global); +goog.exportSymbol("proto.bet.beteran.c2se.site.GetSiteResponse", null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.GetSiteResponse.Result", + null, + global +); +goog.exportSymbol("proto.bet.beteran.c2se.site.ListSitesRequest", null, global); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.ListSitesRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.ListSitesResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.ListSitesResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.UpdateSiteRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.UpdateSiteResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.site.UpdateSiteResponse.Result", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -47,7 +101,7 @@ goog.exportSymbol('proto.bet.beteran.c2se.site.UpdateSiteResponse.Result', null, * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.CreateSiteRequest = function(opt_data) { +proto.bet.beteran.c2se.site.CreateSiteRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.CreateSiteRequest, jspb.Message); @@ -56,7 +110,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.CreateSiteRequest.displayName = 'proto.bet.beteran.c2se.site.CreateSiteRequest'; + proto.bet.beteran.c2se.site.CreateSiteRequest.displayName = + "proto.bet.beteran.c2se.site.CreateSiteRequest"; } /** * Generated by JsPbCodeGenerator. @@ -68,7 +123,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.CreateSiteResponse = function(opt_data) { +proto.bet.beteran.c2se.site.CreateSiteResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.CreateSiteResponse, jspb.Message); @@ -77,7 +132,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.CreateSiteResponse.displayName = 'proto.bet.beteran.c2se.site.CreateSiteResponse'; + proto.bet.beteran.c2se.site.CreateSiteResponse.displayName = + "proto.bet.beteran.c2se.site.CreateSiteResponse"; } /** * Generated by JsPbCodeGenerator. @@ -89,16 +145,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.site.CreateSiteResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.site.CreateSiteResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.site.CreateSiteResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.site.CreateSiteResponse.Result.displayName = 'proto.bet.beteran.c2se.site.CreateSiteResponse.Result'; + proto.bet.beteran.c2se.site.CreateSiteResponse.Result.displayName = + "proto.bet.beteran.c2se.site.CreateSiteResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -110,8 +170,15 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.ListSitesRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.site.ListSitesRequest.repeatedFields_, null); +proto.bet.beteran.c2se.site.ListSitesRequest = function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.site.ListSitesRequest.repeatedFields_, + null + ); }; goog.inherits(proto.bet.beteran.c2se.site.ListSitesRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { @@ -119,7 +186,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.ListSitesRequest.displayName = 'proto.bet.beteran.c2se.site.ListSitesRequest'; + proto.bet.beteran.c2se.site.ListSitesRequest.displayName = + "proto.bet.beteran.c2se.site.ListSitesRequest"; } /** * Generated by JsPbCodeGenerator. @@ -131,16 +199,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search = function(opt_data) { +proto.bet.beteran.c2se.site.ListSitesRequest.Search = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.site.ListSitesRequest.Search, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.site.ListSitesRequest.Search, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.site.ListSitesRequest.Search.displayName = 'proto.bet.beteran.c2se.site.ListSitesRequest.Search'; + proto.bet.beteran.c2se.site.ListSitesRequest.Search.displayName = + "proto.bet.beteran.c2se.site.ListSitesRequest.Search"; } /** * Generated by JsPbCodeGenerator. @@ -152,7 +224,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.ListSitesResponse = function(opt_data) { +proto.bet.beteran.c2se.site.ListSitesResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.ListSitesResponse, jspb.Message); @@ -161,7 +233,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.ListSitesResponse.displayName = 'proto.bet.beteran.c2se.site.ListSitesResponse'; + proto.bet.beteran.c2se.site.ListSitesResponse.displayName = + "proto.bet.beteran.c2se.site.ListSitesResponse"; } /** * Generated by JsPbCodeGenerator. @@ -173,16 +246,27 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.site.ListSitesResponse.Result.repeatedFields_, null); +proto.bet.beteran.c2se.site.ListSitesResponse.Result = function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.site.ListSitesResponse.Result.repeatedFields_, + null + ); }; -goog.inherits(proto.bet.beteran.c2se.site.ListSitesResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.site.ListSitesResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.site.ListSitesResponse.Result.displayName = 'proto.bet.beteran.c2se.site.ListSitesResponse.Result'; + proto.bet.beteran.c2se.site.ListSitesResponse.Result.displayName = + "proto.bet.beteran.c2se.site.ListSitesResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -194,7 +278,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.GetSiteRequest = function(opt_data) { +proto.bet.beteran.c2se.site.GetSiteRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.GetSiteRequest, jspb.Message); @@ -203,7 +287,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.GetSiteRequest.displayName = 'proto.bet.beteran.c2se.site.GetSiteRequest'; + proto.bet.beteran.c2se.site.GetSiteRequest.displayName = + "proto.bet.beteran.c2se.site.GetSiteRequest"; } /** * Generated by JsPbCodeGenerator. @@ -215,7 +300,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.GetSiteResponse = function(opt_data) { +proto.bet.beteran.c2se.site.GetSiteResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.GetSiteResponse, jspb.Message); @@ -224,7 +309,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.GetSiteResponse.displayName = 'proto.bet.beteran.c2se.site.GetSiteResponse'; + proto.bet.beteran.c2se.site.GetSiteResponse.displayName = + "proto.bet.beteran.c2se.site.GetSiteResponse"; } /** * Generated by JsPbCodeGenerator. @@ -236,7 +322,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.GetSiteResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.site.GetSiteResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.GetSiteResponse.Result, jspb.Message); @@ -245,7 +331,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.GetSiteResponse.Result.displayName = 'proto.bet.beteran.c2se.site.GetSiteResponse.Result'; + proto.bet.beteran.c2se.site.GetSiteResponse.Result.displayName = + "proto.bet.beteran.c2se.site.GetSiteResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -257,7 +344,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.UpdateSiteRequest = function(opt_data) { +proto.bet.beteran.c2se.site.UpdateSiteRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.UpdateSiteRequest, jspb.Message); @@ -266,7 +353,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.UpdateSiteRequest.displayName = 'proto.bet.beteran.c2se.site.UpdateSiteRequest'; + proto.bet.beteran.c2se.site.UpdateSiteRequest.displayName = + "proto.bet.beteran.c2se.site.UpdateSiteRequest"; } /** * Generated by JsPbCodeGenerator. @@ -278,7 +366,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.UpdateSiteResponse = function(opt_data) { +proto.bet.beteran.c2se.site.UpdateSiteResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.UpdateSiteResponse, jspb.Message); @@ -287,7 +375,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.UpdateSiteResponse.displayName = 'proto.bet.beteran.c2se.site.UpdateSiteResponse'; + proto.bet.beteran.c2se.site.UpdateSiteResponse.displayName = + "proto.bet.beteran.c2se.site.UpdateSiteResponse"; } /** * Generated by JsPbCodeGenerator. @@ -299,16 +388,20 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.site.UpdateSiteResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.site.UpdateSiteResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.displayName = 'proto.bet.beteran.c2se.site.UpdateSiteResponse.Result'; + proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.displayName = + "proto.bet.beteran.c2se.site.UpdateSiteResponse.Result"; } /** * Generated by JsPbCodeGenerator. @@ -320,7 +413,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.DeleteSiteRequest = function(opt_data) { +proto.bet.beteran.c2se.site.DeleteSiteRequest = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.DeleteSiteRequest, jspb.Message); @@ -329,7 +422,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.DeleteSiteRequest.displayName = 'proto.bet.beteran.c2se.site.DeleteSiteRequest'; + proto.bet.beteran.c2se.site.DeleteSiteRequest.displayName = + "proto.bet.beteran.c2se.site.DeleteSiteRequest"; } /** * Generated by JsPbCodeGenerator. @@ -341,7 +435,7 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.DeleteSiteResponse = function(opt_data) { +proto.bet.beteran.c2se.site.DeleteSiteResponse = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.site.DeleteSiteResponse, jspb.Message); @@ -350,7 +444,8 @@ if (goog.DEBUG && !COMPILED) { * @public * @override */ - proto.bet.beteran.c2se.site.DeleteSiteResponse.displayName = 'proto.bet.beteran.c2se.site.DeleteSiteResponse'; + proto.bet.beteran.c2se.site.DeleteSiteResponse.displayName = + "proto.bet.beteran.c2se.site.DeleteSiteResponse"; } /** * Generated by JsPbCodeGenerator. @@ -362,78 +457,91 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.Result = function(opt_data) { +proto.bet.beteran.c2se.site.DeleteSiteResponse.Result = function (opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.bet.beteran.c2se.site.DeleteSiteResponse.Result, jspb.Message); +goog.inherits( + proto.bet.beteran.c2se.site.DeleteSiteResponse.Result, + jspb.Message +); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.displayName = 'proto.bet.beteran.c2se.site.DeleteSiteResponse.Result'; + proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.displayName = + "proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.CreateSiteRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.CreateSiteRequest.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.site.CreateSiteRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.CreateSiteRequest.toObject = function(includeInstance, msg) { - var f, obj = { - url: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - path: jspb.Message.getFieldWithDefault(msg, 3, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - memo: jspb.Message.getFieldWithDefault(msg, 6, ""), - expiresAt: jspb.Message.getFieldWithDefault(msg, 7, 0) + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.CreateSiteRequest.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.site.CreateSiteRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.CreateSiteRequest.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + url: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + path: jspb.Message.getFieldWithDefault(msg, 3, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + memo: jspb.Message.getFieldWithDefault(msg, 6, ""), + expiresAt: jspb.Message.getFieldWithDefault(msg, 7, 0), + }; + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.CreateSiteRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.CreateSiteRequest; - return proto.bet.beteran.c2se.site.CreateSiteRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.CreateSiteRequest(); + return proto.bet.beteran.c2se.site.CreateSiteRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -441,60 +549,63 @@ proto.bet.beteran.c2se.site.CreateSiteRequest.deserializeBinary = function(bytes * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.CreateSiteRequest.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.setUrl(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanUse(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiresAt(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setUrl(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setPath(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanUse(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - case 7: - var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiresAt(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.site.CreateSiteRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.CreateSiteRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.CreateSiteRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -503,314 +614,310 @@ proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.serializeBinary = functi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.CreateSiteRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getUrl(); - 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 = message.getShow(); - if (f) { - writer.writeBool( - 4, - f - ); - } - f = message.getCanUse(); - if (f) { - writer.writeBool( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeUint64( - 7, - f - ); - } -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getUrl(); + 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 = message.getShow(); + if (f) { + writer.writeBool(4, f); + } + f = message.getCanUse(); + if (f) { + writer.writeBool(5, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString(6, f); + } + f = /** @type {number} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeUint64(7, f); + } + }; /** * optional string url = 1; * @return {string} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getUrl = function() { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getUrl = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setUrl = function(value) { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setUrl = function ( + value +) { return jspb.Message.setProto3StringField(this, 1, value); }; - /** * optional string name = 2; * @return {string} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getName = function() { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getName = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setName = function(value) { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setName = function ( + value +) { return jspb.Message.setField(this, 2, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.clearName = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.clearName = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.hasName = function() { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.hasName = function () { return jspb.Message.getField(this, 2) != null; }; - /** * optional string path = 3; * @return {string} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getPath = function() { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getPath = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setPath = function(value) { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setPath = function ( + value +) { return jspb.Message.setField(this, 3, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.clearPath = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.clearPath = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.hasPath = function() { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.hasPath = function () { return jspb.Message.getField(this, 3) != null; }; - /** * optional bool show = 4; * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getShow = function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); }; - /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setShow = function(value) { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setShow = function ( + value +) { return jspb.Message.setProto3BooleanField(this, 4, value); }; - /** * optional bool can_use = 5; * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getCanUse = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getCanUse = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setCanUse = function(value) { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setCanUse = function ( + value +) { return jspb.Message.setProto3BooleanField(this, 5, value); }; - /** * optional string memo = 6; * @return {string} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getMemo = function() { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getMemo = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setMemo = function(value) { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setMemo = function ( + value +) { return jspb.Message.setField(this, 6, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 6, undefined); -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 6, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.hasMemo = function() { +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.hasMemo = function () { return jspb.Message.getField(this, 6) != null; }; - /** * optional uint64 expires_at = 7; * @return {number} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getExpiresAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getExpiresAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setExpiresAt = function(value) { - return jspb.Message.setField(this, 7, value); -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setExpiresAt = + function (value) { + return jspb.Message.setField(this, 7, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.clearExpiresAt = function() { - return jspb.Message.setField(this, 7, undefined); -}; - +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.clearExpiresAt = + function () { + return jspb.Message.setField(this, 7, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.hasExpiresAt = function() { - return jspb.Message.getField(this, 7) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.hasExpiresAt = + function () { + return jspb.Message.getField(this, 7) != null; }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.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.site.CreateSiteResponse} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.CreateSiteResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.CreateSiteResponse; - return proto.bet.beteran.c2se.site.CreateSiteResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.CreateSiteResponse(); + return proto.bet.beteran.c2se.site.CreateSiteResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -818,42 +925,53 @@ proto.bet.beteran.c2se.site.CreateSiteResponse.deserializeBinary = function(byte * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.CreateSiteResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.CreateSiteResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -862,81 +980,86 @@ proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.serializeBinary = funct * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.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.site.CreateSiteResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - site: (f = msg.getSite()) && models_site_pb.Site.toObject(includeInstance, f) +proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.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.site.CreateSiteResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.CreateSiteResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + site: + (f = msg.getSite()) && + models_site_pb.Site.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.site.CreateSiteResponse.Result} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.CreateSiteResponse.Result; - return proto.bet.beteran.c2se.site.CreateSiteResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.site.CreateSiteResponse.Result(); + return proto.bet.beteran.c2se.site.CreateSiteResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -945,37 +1068,43 @@ proto.bet.beteran.c2se.site.CreateSiteResponse.Result.deserializeBinary = functi * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse.Result} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.CreateSiteResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_site_pb.Site(); + reader.readMessage( + value, + models_site_pb.Site.deserializeBinaryFromReader + ); + msg.setSite(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_site_pb.Site; - reader.readMessage(value,models_site_pb.Site.deserializeBinaryFromReader); - msg.setSite(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.site.CreateSiteResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.CreateSiteResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.CreateSiteResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -984,130 +1113,134 @@ proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.serializeBinary * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getSite(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_site_pb.Site.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getSite(); + if (f != null) { + writer.writeMessage(1, f, models_site_pb.Site.serializeBinaryToWriter); + } + }; /** * optional bet.beteran.site.Site site = 1; * @return {?proto.bet.beteran.site.Site} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.getSite = function() { - return /** @type{?proto.bet.beteran.site.Site} */ ( - jspb.Message.getWrapperField(this, models_site_pb.Site, 1)); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.getSite = + function () { + return /** @type{?proto.bet.beteran.site.Site} */ ( + jspb.Message.getWrapperField(this, models_site_pb.Site, 1) + ); + }; /** * @param {?proto.bet.beteran.site.Site|undefined} value * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse.Result} returns this -*/ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.setSite = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.setSite = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse.Result} returns this */ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.clearSite = function() { - return this.setSite(undefined); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.clearSite = + function () { + return this.setSite(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.hasSite = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.hasSite = + 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.site.CreateSiteResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.CreateSiteResponse} returns this -*/ -proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse} returns this */ -proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.site.CreateSiteResponse.Result} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.site.CreateSiteResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.site.CreateSiteResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.site.CreateSiteResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.site.CreateSiteResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.site.CreateSiteResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse} returns this -*/ -proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse} returns this */ -proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * List of repeated fields within this message type. @@ -1116,63 +1249,82 @@ proto.bet.beteran.c2se.site.CreateSiteResponse.prototype.hasResult = function() */ proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.Search.toObject(includeInstance, f) + /** + * 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.site.ListSitesRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.ListSitesRequest.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.site.ListSitesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.Search.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.site.ListSitesRequest} */ -proto.bet.beteran.c2se.site.ListSitesRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.ListSitesRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.ListSitesRequest; - return proto.bet.beteran.c2se.site.ListSitesRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.ListSitesRequest(); + return proto.bet.beteran.c2se.site.ListSitesRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -1180,47 +1332,60 @@ proto.bet.beteran.c2se.site.ListSitesRequest.deserializeBinary = function(bytes) * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest} */ -proto.bet.beteran.c2se.site.ListSitesRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.Search; - reader.readMessage(value,proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.ListSitesRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.ListSitesRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1229,94 +1394,101 @@ proto.bet.beteran.c2se.site.ListSitesRequest.prototype.serializeBinary = functio * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.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.site.ListSitesRequest.Search.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.Search} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.toObject = function(includeInstance, msg) { - var f, obj = { - urlLike: jspb.Message.getFieldWithDefault(msg, 1, ""), - nameLike: jspb.Message.getFieldWithDefault(msg, 2, ""), - pathLike: jspb.Message.getFieldWithDefault(msg, 3, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - memoLike: jspb.Message.getFieldWithDefault(msg, 6, "") +proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.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.site.ListSitesRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.ListSitesRequest.Search.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + urlLike: jspb.Message.getFieldWithDefault(msg, 1, ""), + nameLike: jspb.Message.getFieldWithDefault(msg, 2, ""), + pathLike: jspb.Message.getFieldWithDefault(msg, 3, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + memoLike: jspb.Message.getFieldWithDefault(msg, 6, ""), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.ListSitesRequest.Search; - return proto.bet.beteran.c2se.site.ListSitesRequest.Search.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.site.ListSitesRequest.Search(); + return proto.bet.beteran.c2se.site.ListSitesRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1325,56 +1497,59 @@ proto.bet.beteran.c2se.site.ListSitesRequest.Search.deserializeBinary = function * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.ListSitesRequest.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.setUrlLike(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setNameLike(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPathLike(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanUse(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setMemoLike(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setUrlLike(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setNameLike(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setPathLike(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanUse(value); - break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setMemoLike(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - + return msg; + }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.ListSitesRequest.Search.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.ListSitesRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1383,437 +1558,461 @@ proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.serializeBinary = * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.ListSitesRequest.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 {boolean} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeBool( - 4, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeBool( - 5, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeString( - 6, - f - ); - } -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.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 {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool(4, f); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool(5, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString(6, f); + } + }; /** * optional string url_like = 1; * @return {string} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getUrlLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getUrlLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setUrlLike = function(value) { - return jspb.Message.setField(this, 1, value); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setUrlLike = + function (value) { + return jspb.Message.setField(this, 1, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearUrlLike = function() { - return jspb.Message.setField(this, 1, undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearUrlLike = + function () { + return jspb.Message.setField(this, 1, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasUrlLike = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasUrlLike = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional string name_like = 2; * @return {string} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getNameLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getNameLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setNameLike = function(value) { - return jspb.Message.setField(this, 2, value); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setNameLike = + function (value) { + return jspb.Message.setField(this, 2, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearNameLike = function() { - return jspb.Message.setField(this, 2, undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearNameLike = + function () { + return jspb.Message.setField(this, 2, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasNameLike = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasNameLike = + function () { + return jspb.Message.getField(this, 2) != null; + }; /** * optional string path_like = 3; * @return {string} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getPathLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getPathLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setPathLike = function(value) { - return jspb.Message.setField(this, 3, value); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setPathLike = + function (value) { + return jspb.Message.setField(this, 3, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearPathLike = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearPathLike = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasPathLike = function() { - return jspb.Message.getField(this, 3) != null; -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasPathLike = + function () { + return jspb.Message.getField(this, 3) != null; + }; /** * optional bool show = 4; * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getShow = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setShow = function(value) { - return jspb.Message.setField(this, 4, value); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setShow = + function (value) { + return jspb.Message.setField(this, 4, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearShow = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearShow = + function () { + return jspb.Message.setField(this, 4, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasShow = function() { - return jspb.Message.getField(this, 4) != null; -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasShow = + function () { + return jspb.Message.getField(this, 4) != null; + }; /** * optional bool can_use = 5; * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getCanUse = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getCanUse = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setCanUse = function(value) { - return jspb.Message.setField(this, 5, value); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setCanUse = + function (value) { + return jspb.Message.setField(this, 5, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearCanUse = function() { - return jspb.Message.setField(this, 5, undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearCanUse = + function () { + return jspb.Message.setField(this, 5, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasCanUse = function() { - return jspb.Message.getField(this, 5) != null; -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasCanUse = + function () { + return jspb.Message.getField(this, 5) != null; + }; /** * optional string memo_like = 6; * @return {string} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getMemoLike = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getMemoLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setMemoLike = function(value) { - return jspb.Message.setField(this, 6, value); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setMemoLike = + function (value) { + return jspb.Message.setField(this, 6, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearMemoLike = function() { - return jspb.Message.setField(this, 6, undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.clearMemoLike = + function () { + return jspb.Message.setField(this, 6, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasMemoLike = function() { - return jspb.Message.getField(this, 6) != null; -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.hasMemoLike = + function () { + return jspb.Message.getField(this, 6) != null; + }; /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} */ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.getPagination = function() { - return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( - jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1)); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest} returns this -*/ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.setPagination = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.setPagination = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.clearPagination = function() { - return this.setPagination(undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.hasPagination = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.hasPagination = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * repeated bet.protobuf.pagination.Sort sorts = 2; * @return {!Array} */ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.getSortsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.getSortsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.site.ListSitesRequest} returns this -*/ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.setSortsList = function(value) { + */ +proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesRequest.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.site.ListSitesRequest.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.site.ListSitesRequest} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.clearSortsList = function() { - return this.setSortsList([]); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.site.ListSitesRequest.Search} */ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.getSearch = function() { +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.getSearch = function () { return /** @type{?proto.bet.beteran.c2se.site.ListSitesRequest.Search} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.site.ListSitesRequest.Search, 3)); + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.site.ListSitesRequest.Search, + 3 + ) + ); }; - /** * @param {?proto.bet.beteran.c2se.site.ListSitesRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.site.ListSitesRequest} returns this -*/ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.setSearch = function(value) { + */ +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.setSearch = function ( + value +) { return jspb.Message.setWrapperField(this, 3, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesRequest} returns this */ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.clearSearch = function() { - return this.setSearch(undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesRequest.prototype.hasSearch = function() { +proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.Result.toObject(includeInstance, f) + /** + * 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.site.ListSitesResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.ListSitesResponse.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.site.ListSitesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.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.site.ListSitesResponse} */ -proto.bet.beteran.c2se.site.ListSitesResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.ListSitesResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.ListSitesResponse; - return proto.bet.beteran.c2se.site.ListSitesResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.ListSitesResponse(); + return proto.bet.beteran.c2se.site.ListSitesResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -1821,42 +2020,53 @@ proto.bet.beteran.c2se.site.ListSitesResponse.deserializeBinary = function(bytes * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.ListSitesResponse} */ -proto.bet.beteran.c2se.site.ListSitesResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.ListSitesResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.ListSitesResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1865,89 +2075,96 @@ proto.bet.beteran.c2se.site.ListSitesResponse.prototype.serializeBinary = functi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.Result.serializeBinaryToWriter - ); - } -}; - - +proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.Result + .serializeBinaryToWriter + ); + } + }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.repeatedFields_ = [1]; - - +proto.bet.beteran.c2se.site.ListSitesResponse.Result.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.site.ListSitesResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.site.ListSitesResponse.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.site.ListSitesResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.ListSitesResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0), + sitesList: jspb.Message.toObjectList( + msg.getSitesList(), + models_site_pb.Site.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.site.ListSitesResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - sitesList: jspb.Message.toObjectList(msg.getSitesList(), - models_site_pb.Site.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.site.ListSitesResponse.Result} */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.ListSitesResponse.Result; - return proto.bet.beteran.c2se.site.ListSitesResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.site.ListSitesResponse.Result(); + return proto.bet.beteran.c2se.site.ListSitesResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -1956,37 +2173,47 @@ proto.bet.beteran.c2se.site.ListSitesResponse.Result.deserializeBinary = functio * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.ListSitesResponse.Result} */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.ListSitesResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTotalCount(value); + break; + case 2: + var value = new models_site_pb.Site(); + reader.readMessage( + value, + models_site_pb.Site.deserializeBinaryFromReader + ); + msg.addSites(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_site_pb.Site; - reader.readMessage(value,models_site_pb.Site.deserializeBinaryFromReader); - msg.addSites(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.site.ListSitesResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.ListSitesResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.ListSitesResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -1995,186 +2222,229 @@ proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.serializeBinary = * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getSitesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - models_site_pb.Site.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getTotalCount(); + if (f !== 0) { + writer.writeUint64(1, f); + } + f = message.getSitesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + models_site_pb.Site.serializeBinaryToWriter + ); + } + }; /** - * repeated bet.beteran.site.Site sites = 1; + * optional uint64 total_count = 1; + * @return {number} + */ +proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.getTotalCount = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.site.ListSitesResponse.Result} returns this + */ +proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.setTotalCount = + function (value) { + return jspb.Message.setProto3IntField(this, 1, value); + }; + +/** + * repeated bet.beteran.site.Site sites = 2; * @return {!Array} */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.getSitesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, models_site_pb.Site, 1)); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.getSitesList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, models_site_pb.Site, 2) + ); + }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.site.ListSitesResponse.Result} returns this -*/ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.setSitesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.setSitesList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); + }; /** * @param {!proto.bet.beteran.site.Site=} opt_value * @param {number=} opt_index * @return {!proto.bet.beteran.site.Site} */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.addSites = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.site.Site, opt_index); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.addSites = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 2, + opt_value, + proto.bet.beteran.site.Site, + opt_index + ); + }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.site.ListSitesResponse.Result} returns this */ -proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.clearSitesList = function() { - return this.setSitesList([]); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.clearSitesList = + function () { + return this.setSitesList([]); + }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ -proto.bet.beteran.c2se.site.ListSitesResponse.prototype.getError = function() { +proto.bet.beteran.c2se.site.ListSitesResponse.prototype.getError = function () { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); + jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1) + ); }; - /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.site.ListSitesResponse} returns this -*/ -proto.bet.beteran.c2se.site.ListSitesResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.site.ListSitesResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesResponse} returns this */ -proto.bet.beteran.c2se.site.ListSitesResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesResponse.prototype.hasError = function() { +proto.bet.beteran.c2se.site.ListSitesResponse.prototype.hasError = function () { return jspb.Message.getField(this, 1) != null; }; - /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.site.ListSitesResponse.Result} */ -proto.bet.beteran.c2se.site.ListSitesResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.site.ListSitesResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.site.ListSitesResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.site.ListSitesResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.site.ListSitesResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.site.ListSitesResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.site.ListSitesResponse} returns this -*/ -proto.bet.beteran.c2se.site.ListSitesResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.site.ListSitesResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.ListSitesResponse} returns this */ -proto.bet.beteran.c2se.site.ListSitesResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.site.ListSitesResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.ListSitesResponse.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.site.GetSiteRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.GetSiteRequest.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.site.GetSiteRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.GetSiteRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.site.ListSitesResponse.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.site.GetSiteRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.GetSiteRequest.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.site.GetSiteRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.GetSiteRequest.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.site.GetSiteRequest} */ -proto.bet.beteran.c2se.site.GetSiteRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.GetSiteRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.GetSiteRequest; - return proto.bet.beteran.c2se.site.GetSiteRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.GetSiteRequest(); + return proto.bet.beteran.c2se.site.GetSiteRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2182,36 +2452,39 @@ proto.bet.beteran.c2se.site.GetSiteRequest.deserializeBinary = function(bytes) { * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.GetSiteRequest} */ -proto.bet.beteran.c2se.site.GetSiteRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.GetSiteRequest.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.site.GetSiteRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.GetSiteRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.GetSiteRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.GetSiteRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2220,92 +2493,104 @@ proto.bet.beteran.c2se.site.GetSiteRequest.prototype.serializeBinary = function( * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.GetSiteRequest.serializeBinaryToWriter = function(message, writer) { +proto.bet.beteran.c2se.site.GetSiteRequest.serializeBinaryToWriter = function ( + message, + writer +) { var f = undefined; f = message.getId(); if (f.length > 0) { - writer.writeString( - 1, - f - ); + writer.writeString(1, f); } }; - /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.site.GetSiteRequest.prototype.getId = function() { +proto.bet.beteran.c2se.site.GetSiteRequest.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.GetSiteRequest} returns this */ -proto.bet.beteran.c2se.site.GetSiteRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.site.GetSiteRequest.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.site.GetSiteResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse.Result.toObject(includeInstance, f) + /** + * 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.site.GetSiteResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.GetSiteResponse.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.site.GetSiteResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse.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.site.GetSiteResponse} */ -proto.bet.beteran.c2se.site.GetSiteResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.GetSiteResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.GetSiteResponse; - return proto.bet.beteran.c2se.site.GetSiteResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.GetSiteResponse(); + return proto.bet.beteran.c2se.site.GetSiteResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2313,42 +2598,52 @@ proto.bet.beteran.c2se.site.GetSiteResponse.deserializeBinary = function(bytes) * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.GetSiteResponse} */ -proto.bet.beteran.c2se.site.GetSiteResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.GetSiteResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.GetSiteResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.GetSiteResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2357,15 +2652,14 @@ proto.bet.beteran.c2se.site.GetSiteResponse.prototype.serializeBinary = function * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.GetSiteResponse.serializeBinaryToWriter = function(message, writer) { +proto.bet.beteran.c2se.site.GetSiteResponse.serializeBinaryToWriter = function ( + message, + writer +) { var f = undefined; f = message.getError(); if (f != null) { - writer.writeMessage( - 1, - f, - protobuf_rpc_pb.Error.serializeBinaryToWriter - ); + writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter); } f = message.getResult(); if (f != null) { @@ -2377,61 +2671,68 @@ proto.bet.beteran.c2se.site.GetSiteResponse.serializeBinaryToWriter = function(m } }; - - - - 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.site.GetSiteResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.GetSiteResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + site: + (f = msg.getSite()) && + models_site_pb.Site.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.site.GetSiteResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.GetSiteResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - site: (f = msg.getSite()) && models_site_pb.Site.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.site.GetSiteResponse.Result} */ -proto.bet.beteran.c2se.site.GetSiteResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.GetSiteResponse.Result; - return proto.bet.beteran.c2se.site.GetSiteResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.site.GetSiteResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.site.GetSiteResponse.Result(); + return proto.bet.beteran.c2se.site.GetSiteResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -2440,37 +2741,43 @@ proto.bet.beteran.c2se.site.GetSiteResponse.Result.deserializeBinary = function( * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.GetSiteResponse.Result} */ -proto.bet.beteran.c2se.site.GetSiteResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.GetSiteResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_site_pb.Site(); + reader.readMessage( + value, + models_site_pb.Site.deserializeBinaryFromReader + ); + msg.setSite(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_site_pb.Site; - reader.readMessage(value,models_site_pb.Site.deserializeBinaryFromReader); - msg.setSite(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.site.GetSiteResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.GetSiteResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.GetSiteResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2479,192 +2786,200 @@ proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.serializeBinary = f * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.GetSiteResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getSite(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_site_pb.Site.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.site.GetSiteResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getSite(); + if (f != null) { + writer.writeMessage(1, f, models_site_pb.Site.serializeBinaryToWriter); + } + }; /** * optional bet.beteran.site.Site site = 1; * @return {?proto.bet.beteran.site.Site} */ -proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.getSite = function() { - return /** @type{?proto.bet.beteran.site.Site} */ ( - jspb.Message.getWrapperField(this, models_site_pb.Site, 1)); -}; - +proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.getSite = + function () { + return /** @type{?proto.bet.beteran.site.Site} */ ( + jspb.Message.getWrapperField(this, models_site_pb.Site, 1) + ); + }; /** * @param {?proto.bet.beteran.site.Site|undefined} value * @return {!proto.bet.beteran.c2se.site.GetSiteResponse.Result} returns this -*/ -proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.setSite = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.setSite = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.GetSiteResponse.Result} returns this */ -proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.clearSite = function() { - return this.setSite(undefined); -}; - +proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.clearSite = + function () { + return this.setSite(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.hasSite = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.hasSite = + 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.site.GetSiteResponse.prototype.getError = function() { +proto.bet.beteran.c2se.site.GetSiteResponse.prototype.getError = function () { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); + jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1) + ); }; - /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.site.GetSiteResponse} returns this -*/ -proto.bet.beteran.c2se.site.GetSiteResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.site.GetSiteResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.GetSiteResponse} returns this */ -proto.bet.beteran.c2se.site.GetSiteResponse.prototype.clearError = function() { +proto.bet.beteran.c2se.site.GetSiteResponse.prototype.clearError = function () { return this.setError(undefined); }; - /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.GetSiteResponse.prototype.hasError = function() { +proto.bet.beteran.c2se.site.GetSiteResponse.prototype.hasError = function () { return jspb.Message.getField(this, 1) != null; }; - /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.site.GetSiteResponse.Result} */ -proto.bet.beteran.c2se.site.GetSiteResponse.prototype.getResult = function() { +proto.bet.beteran.c2se.site.GetSiteResponse.prototype.getResult = function () { return /** @type{?proto.bet.beteran.c2se.site.GetSiteResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.site.GetSiteResponse.Result, 2)); + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.site.GetSiteResponse.Result, + 2 + ) + ); }; - /** * @param {?proto.bet.beteran.c2se.site.GetSiteResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.site.GetSiteResponse} returns this -*/ -proto.bet.beteran.c2se.site.GetSiteResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.site.GetSiteResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.GetSiteResponse} returns this */ -proto.bet.beteran.c2se.site.GetSiteResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.site.GetSiteResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.GetSiteResponse.prototype.hasResult = function() { +proto.bet.beteran.c2se.site.GetSiteResponse.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.site.UpdateSiteRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.UpdateSiteRequest.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.site.UpdateSiteRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - url: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - path: jspb.Message.getFieldWithDefault(msg, 4, ""), - show: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - canUse: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - memo: jspb.Message.getFieldWithDefault(msg, 7, ""), - expiresAt: jspb.Message.getFieldWithDefault(msg, 8, 0) + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.UpdateSiteRequest.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.site.UpdateSiteRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.UpdateSiteRequest.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + path: jspb.Message.getFieldWithDefault(msg, 4, ""), + show: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + canUse: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + memo: jspb.Message.getFieldWithDefault(msg, 7, ""), + expiresAt: jspb.Message.getFieldWithDefault(msg, 8, 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.site.UpdateSiteRequest} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.UpdateSiteRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.UpdateSiteRequest; - return proto.bet.beteran.c2se.site.UpdateSiteRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.UpdateSiteRequest(); + return proto.bet.beteran.c2se.site.UpdateSiteRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -2672,64 +2987,67 @@ proto.bet.beteran.c2se.site.UpdateSiteRequest.deserializeBinary = function(bytes * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.UpdateSiteRequest.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.setUrl(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShow(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanUse(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setMemo(value); + break; + case 8: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiresAt(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.setUrl(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setPath(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setShow(value); - break; - case 6: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanUse(value); - break; - case 7: - var value = /** @type {string} */ (reader.readString()); - msg.setMemo(value); - break; - case 8: - var value = /** @type {number} */ (reader.readUint64()); - msg.setExpiresAt(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.site.UpdateSiteRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.UpdateSiteRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.UpdateSiteRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -2738,339 +3056,332 @@ proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.serializeBinary = functi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getUrl(); - if (f.length > 0) { - 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 = message.getShow(); - if (f) { - writer.writeBool( - 5, - f - ); - } - f = message.getCanUse(); - if (f) { - writer.writeBool( - 6, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeString( - 7, - f - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 8)); - if (f != null) { - writer.writeUint64( - 8, - f - ); - } -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getUrl(); + if (f.length > 0) { + 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 = message.getShow(); + if (f) { + writer.writeBool(5, f); + } + f = message.getCanUse(); + if (f) { + writer.writeBool(6, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString(7, f); + } + f = /** @type {number} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeUint64(8, f); + } + }; /** * optional string id = 1; * @return {string} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getId = function() { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setId = function ( + value +) { return jspb.Message.setProto3StringField(this, 1, value); }; - /** * optional string url = 2; * @return {string} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getUrl = function() { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getUrl = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setUrl = function(value) { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setUrl = function ( + value +) { return jspb.Message.setProto3StringField(this, 2, value); }; - /** * optional string name = 3; * @return {string} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getName = function() { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getName = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setName = function(value) { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setName = function ( + value +) { return jspb.Message.setField(this, 3, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.clearName = function() { - return jspb.Message.setField(this, 3, undefined); -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.clearName = + function () { + return jspb.Message.setField(this, 3, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.hasName = function() { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.hasName = function () { return jspb.Message.getField(this, 3) != null; }; - /** * optional string path = 4; * @return {string} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getPath = function() { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getPath = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setPath = function(value) { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setPath = function ( + value +) { return jspb.Message.setField(this, 4, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.clearPath = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.clearPath = + function () { + return jspb.Message.setField(this, 4, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.hasPath = function() { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.hasPath = function () { return jspb.Message.getField(this, 4) != null; }; - /** * optional bool show = 5; * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getShow = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getShow = function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); }; - /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setShow = function(value) { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setShow = function ( + value +) { return jspb.Message.setProto3BooleanField(this, 5, value); }; - /** * optional bool can_use = 6; * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getCanUse = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getCanUse = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 6, false) + ); + }; /** * @param {boolean} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setCanUse = function(value) { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setCanUse = function ( + value +) { return jspb.Message.setProto3BooleanField(this, 6, value); }; - /** * optional string memo = 7; * @return {string} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getMemo = function() { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getMemo = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setMemo = function(value) { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setMemo = function ( + value +) { return jspb.Message.setField(this, 7, value); }; - /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.clearMemo = function() { - return jspb.Message.setField(this, 7, undefined); -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.clearMemo = + function () { + return jspb.Message.setField(this, 7, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.hasMemo = function() { +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.hasMemo = function () { return jspb.Message.getField(this, 7) != null; }; - /** * optional uint64 expires_at = 8; * @return {number} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getExpiresAt = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getExpiresAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); + }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setExpiresAt = function(value) { - return jspb.Message.setField(this, 8, value); -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setExpiresAt = + function (value) { + return jspb.Message.setField(this, 8, value); + }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.clearExpiresAt = function() { - return jspb.Message.setField(this, 8, undefined); -}; - +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.clearExpiresAt = + function () { + return jspb.Message.setField(this, 8, undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.hasExpiresAt = function() { - return jspb.Message.getField(this, 8) != 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.site.UpdateSiteResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.Result.toObject(includeInstance, f) +proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.hasExpiresAt = + function () { + return jspb.Message.getField(this, 8) != 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.site.UpdateSiteResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.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.site.UpdateSiteResponse} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.UpdateSiteResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.UpdateSiteResponse; - return proto.bet.beteran.c2se.site.UpdateSiteResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.UpdateSiteResponse(); + return proto.bet.beteran.c2se.site.UpdateSiteResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -3078,42 +3389,53 @@ proto.bet.beteran.c2se.site.UpdateSiteResponse.deserializeBinary = function(byte * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.UpdateSiteResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.UpdateSiteResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3122,81 +3444,86 @@ proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.serializeBinary = funct * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.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.site.UpdateSiteResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - site: (f = msg.getSite()) && models_site_pb.Site.toObject(includeInstance, f) +proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.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.site.UpdateSiteResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + site: + (f = msg.getSite()) && + models_site_pb.Site.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.site.UpdateSiteResponse.Result} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.UpdateSiteResponse.Result; - return proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.site.UpdateSiteResponse.Result(); + return proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3205,37 +3532,43 @@ proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.deserializeBinary = functi * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse.Result} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new models_site_pb.Site(); + reader.readMessage( + value, + models_site_pb.Site.deserializeBinaryFromReader + ); + msg.setSite(value); + break; + default: + reader.skipField(); + break; + } } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new models_site_pb.Site; - reader.readMessage(value,models_site_pb.Site.deserializeBinaryFromReader); - msg.setSite(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.site.UpdateSiteResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3244,185 +3577,198 @@ proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.serializeBinary * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getSite(); - if (f != null) { - writer.writeMessage( - 1, - f, - models_site_pb.Site.serializeBinaryToWriter - ); - } -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getSite(); + if (f != null) { + writer.writeMessage(1, f, models_site_pb.Site.serializeBinaryToWriter); + } + }; /** * optional bet.beteran.site.Site site = 1; * @return {?proto.bet.beteran.site.Site} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.getSite = function() { - return /** @type{?proto.bet.beteran.site.Site} */ ( - jspb.Message.getWrapperField(this, models_site_pb.Site, 1)); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.getSite = + function () { + return /** @type{?proto.bet.beteran.site.Site} */ ( + jspb.Message.getWrapperField(this, models_site_pb.Site, 1) + ); + }; /** * @param {?proto.bet.beteran.site.Site|undefined} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse.Result} returns this -*/ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.setSite = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - + */ +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.setSite = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse.Result} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.clearSite = function() { - return this.setSite(undefined); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.clearSite = + function () { + return this.setSite(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.hasSite = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.hasSite = + 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.site.UpdateSiteResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.UpdateSiteResponse} returns this -*/ -proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.site.UpdateSiteResponse.Result} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.site.UpdateSiteResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.site.UpdateSiteResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.site.UpdateSiteResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.site.UpdateSiteResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.site.UpdateSiteResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse} returns this -*/ -proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse} returns this */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.site.UpdateSiteResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.DeleteSiteRequest.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.DeleteSiteRequest.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.site.DeleteSiteRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.DeleteSiteRequest.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.DeleteSiteRequest.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.DeleteSiteRequest.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.site.DeleteSiteRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.DeleteSiteRequest.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.site.DeleteSiteRequest} */ -proto.bet.beteran.c2se.site.DeleteSiteRequest.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.DeleteSiteRequest.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.DeleteSiteRequest; - return proto.bet.beteran.c2se.site.DeleteSiteRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.DeleteSiteRequest(); + return proto.bet.beteran.c2se.site.DeleteSiteRequest.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -3430,36 +3776,39 @@ proto.bet.beteran.c2se.site.DeleteSiteRequest.deserializeBinary = function(bytes * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.DeleteSiteRequest} */ -proto.bet.beteran.c2se.site.DeleteSiteRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.DeleteSiteRequest.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.site.DeleteSiteRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.DeleteSiteRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.DeleteSiteRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.DeleteSiteRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3468,92 +3817,104 @@ proto.bet.beteran.c2se.site.DeleteSiteRequest.prototype.serializeBinary = functi * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.DeleteSiteRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - +proto.bet.beteran.c2se.site.DeleteSiteRequest.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.site.DeleteSiteRequest.prototype.getId = function() { +proto.bet.beteran.c2se.site.DeleteSiteRequest.prototype.getId = function () { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; - /** * @param {string} value * @return {!proto.bet.beteran.c2se.site.DeleteSiteRequest} returns this */ -proto.bet.beteran.c2se.site.DeleteSiteRequest.prototype.setId = function(value) { +proto.bet.beteran.c2se.site.DeleteSiteRequest.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.site.DeleteSiteResponse.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result.toObject(includeInstance, f) + /** + * 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.site.DeleteSiteResponse.prototype.toObject = function ( + opt_includeInstance + ) { + return proto.bet.beteran.c2se.site.DeleteSiteResponse.toObject( + opt_includeInstance, + this + ); }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.c2se.site.DeleteSiteResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.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.site.DeleteSiteResponse} */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.deserializeBinary = function(bytes) { +proto.bet.beteran.c2se.site.DeleteSiteResponse.deserializeBinary = function ( + bytes +) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.DeleteSiteResponse; - return proto.bet.beteran.c2se.site.DeleteSiteResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.bet.beteran.c2se.site.DeleteSiteResponse(); + return proto.bet.beteran.c2se.site.DeleteSiteResponse.deserializeBinaryFromReader( + msg, + reader + ); }; - /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. @@ -3561,42 +3922,53 @@ proto.bet.beteran.c2se.site.DeleteSiteResponse.deserializeBinary = function(byte * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.DeleteSiteResponse} */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result; - reader.readMessage(value,proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.DeleteSiteResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.DeleteSiteResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3605,81 +3977,82 @@ proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.serializeBinary = funct * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result.prototype.toObject = function(opt_includeInstance) { - return proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.toObject = function(includeInstance, msg) { - var f, obj = { - +proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result} */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.bet.beteran.c2se.site.DeleteSiteResponse.Result; - return proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.deserializeBinaryFromReader(msg, reader); -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.c2se.site.DeleteSiteResponse.Result(); + return proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; /** * Deserializes binary data (in protobuf wire format) from the @@ -3688,32 +4061,35 @@ proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.deserializeBinary = functi * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.site.DeleteSiteResponse.Result} */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; +proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.Result.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; /** * Serializes the given message to binary data (in protobuf wire @@ -3722,83 +4098,91 @@ proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.prototype.serializeBinary * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse.prototype.getError = function() { - return /** @type{?proto.bet.protobuf.rpc.Error} */ ( - jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.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.site.DeleteSiteResponse} returns this -*/ -proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.setError = function(value) { + */ +proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.setError = function ( + value +) { return jspb.Message.setWrapperField(this, 1, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.DeleteSiteResponse} returns this */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.clearError = function() { - return this.setError(undefined); -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.hasError = function() { - return jspb.Message.getField(this, 1) != null; -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.site.DeleteSiteResponse.Result} */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.getResult = function() { - return /** @type{?proto.bet.beteran.c2se.site.DeleteSiteResponse.Result} */ ( - jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.site.DeleteSiteResponse.Result, 2)); -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.site.DeleteSiteResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.site.DeleteSiteResponse.Result, + 2 + ) + ); + }; /** * @param {?proto.bet.beteran.c2se.site.DeleteSiteResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.site.DeleteSiteResponse} returns this -*/ -proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.setResult = function(value) { + */ +proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.setResult = function ( + value +) { return jspb.Message.setWrapperField(this, 2, value); }; - /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.site.DeleteSiteResponse} returns this */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.bet.beteran.c2se.site.DeleteSiteResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; goog.object.extend(exports, proto.bet.beteran.c2se.site);