diff --git a/src/app/modules/polyglot/member_game_setting/member_game_setting.module.ts b/src/app/modules/polyglot/member_game_setting/member_game_setting.module.ts new file mode 100644 index 0000000..1a8d1fc --- /dev/null +++ b/src/app/modules/polyglot/member_game_setting/member_game_setting.module.ts @@ -0,0 +1,16 @@ +import { ModuleWithProviders, NgModule } from '@angular/core'; + +import { SERVICES } from './services'; + +@NgModule({}) +export class MemberGameSettingRootModule {} + +@NgModule({}) +export class MemberGameSettingModule { + public static forRoot(): ModuleWithProviders { + return { + ngModule: MemberGameSettingRootModule, + providers: [...SERVICES], + }; + } +} diff --git a/src/app/modules/polyglot/member_game_setting/services/index.ts b/src/app/modules/polyglot/member_game_setting/services/index.ts new file mode 100644 index 0000000..c441ebb --- /dev/null +++ b/src/app/modules/polyglot/member_game_setting/services/index.ts @@ -0,0 +1,5 @@ +import { Type } from '@angular/core'; + +import { MemberGameSettingService } from './member_game_setting.service'; + +export const SERVICES: Type[] = [MemberGameSettingService]; diff --git a/src/app/modules/polyglot/member_game_setting/services/member_game_setting.service.ts b/src/app/modules/polyglot/member_game_setting/services/member_game_setting.service.ts new file mode 100644 index 0000000..ca607ae --- /dev/null +++ b/src/app/modules/polyglot/member_game_setting/services/member_game_setting.service.ts @@ -0,0 +1,158 @@ +import { Injectable } from '@angular/core'; +import { NatsService } from 'app/core/nats/services/nats.service'; +import * as nats from 'nats.ws'; + +import { Error } from 'app/modules/proto/protobuf/rpc_pb'; + +import { + ListMemberGameSettingsRequest, + ListMemberGameSettingsResponse, + CreateMemberGameSettingRequest, + CreateMemberGameSettingResponse, + UpdateMemberGameSettingRequest, + UpdateMemberGameSettingResponse, + DeleteMemberGameSettingRequest, + DeleteMemberGameSettingResponse, + GetMemberGameSettingResponse, + GetMemberGameSettingRequest, +} from 'app/modules/proto/c2se/member_game_setting_pb'; +import { + SUBJECT_LIST_MEMBER_GAME_SETTINGS, + SUBJECT_CREATE_MEMBER_GAME_SETTING, + SUBJECT_UPDATE_MEMBER_GAME_SETTING, + SUBJECT_DELETE_MEMBER_GAME_SETTING, + SUBJECT_GET_MEMBER_GAME_SETTING, +} from 'app/modules/proto/c2se/backend/member_game_setting_pb'; + +@Injectable({ + providedIn: 'root', +}) +export class MemberGameSettingService { + /** + * Constructor + */ + constructor(private __natsService: NatsService) {} + + // ----------------------------------------------------------------------------------------------------- + // @ Accessors + // ----------------------------------------------------------------------------------------------------- + + // ----------------------------------------------------------------------------------------------------- + // @ Public methods + // ----------------------------------------------------------------------------------------------------- + + createMemberGameSetting(): Promise { + return new Promise( + (resolve, reject) => { + let req = new CreateMemberGameSettingRequest(); + + this.__natsService + .request( + SUBJECT_CREATE_MEMBER_GAME_SETTING, + req.serializeBinary(), + CreateMemberGameSettingResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result, result.getMemberGameSetting()); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } + + listMemberGameSettings(): Promise { + return new Promise( + (resolve, reject) => { + let req = new ListMemberGameSettingsRequest(); + + this.__natsService + .request( + SUBJECT_LIST_MEMBER_GAME_SETTINGS, + req.serializeBinary(), + ListMemberGameSettingsResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result, result.getMemberGameSettingsList()); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + reject(e); + }); + } + ); + } + + getMemberGameSetting(): Promise { + return new Promise( + (resolve, reject) => { + let req = new GetMemberGameSettingRequest(); + + this.__natsService + .request( + SUBJECT_GET_MEMBER_GAME_SETTING, + req.serializeBinary(), + GetMemberGameSettingResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result, result.getMemberGameSetting()); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } + + updateMemberGameSetting(): Promise { + return new Promise( + (resolve, reject) => { + let req = new UpdateMemberGameSettingRequest(); + + this.__natsService + .request( + SUBJECT_UPDATE_MEMBER_GAME_SETTING, + req.serializeBinary(), + UpdateMemberGameSettingResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result, result.getMemberGameSetting()); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } + + deleteMemberGameSetting(): Promise { + return new Promise( + (resolve, reject) => { + let req = new DeleteMemberGameSettingRequest(); + + this.__natsService + .request( + SUBJECT_DELETE_MEMBER_GAME_SETTING, + req.serializeBinary(), + DeleteMemberGameSettingResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } +} diff --git a/src/app/modules/polyglot/member_settlement_setting/member_settlement_setting.module.ts b/src/app/modules/polyglot/member_settlement_setting/member_settlement_setting.module.ts new file mode 100644 index 0000000..3ed4d7f --- /dev/null +++ b/src/app/modules/polyglot/member_settlement_setting/member_settlement_setting.module.ts @@ -0,0 +1,16 @@ +import { ModuleWithProviders, NgModule } from '@angular/core'; + +import { SERVICES } from './services'; + +@NgModule({}) +export class MemberSettlementSettingRootModule {} + +@NgModule({}) +export class MemberSettlementSettingModule { + public static forRoot(): ModuleWithProviders { + return { + ngModule: MemberSettlementSettingRootModule, + providers: [...SERVICES], + }; + } +} diff --git a/src/app/modules/polyglot/member_settlement_setting/services/index.ts b/src/app/modules/polyglot/member_settlement_setting/services/index.ts new file mode 100644 index 0000000..2647010 --- /dev/null +++ b/src/app/modules/polyglot/member_settlement_setting/services/index.ts @@ -0,0 +1,5 @@ +import { Type } from '@angular/core'; + +import { MemberSettlementSettingService } from './member_settlement_setting.service'; + +export const SERVICES: Type[] = [MemberSettlementSettingService]; diff --git a/src/app/modules/polyglot/member_settlement_setting/services/member_settlement_setting.service.ts b/src/app/modules/polyglot/member_settlement_setting/services/member_settlement_setting.service.ts new file mode 100644 index 0000000..884e9c3 --- /dev/null +++ b/src/app/modules/polyglot/member_settlement_setting/services/member_settlement_setting.service.ts @@ -0,0 +1,162 @@ +import { Injectable } from '@angular/core'; +import { NatsService } from 'app/core/nats/services/nats.service'; +import * as nats from 'nats.ws'; + +import { Error } from 'app/modules/proto/protobuf/rpc_pb'; + +import { + ListMemberSettlementSettingsRequest, + ListMemberSettlementSettingsResponse, + CreateMemberSettlementSettingRequest, + CreateMemberSettlementSettingResponse, + UpdateMemberSettlementSettingRequest, + UpdateMemberSettlementSettingResponse, + DeleteMemberSettlementSettingRequest, + DeleteMemberSettlementSettingResponse, + GetMemberSettlementSettingResponse, + GetMemberSettlementSettingRequest, +} from 'app/modules/proto/c2se/member_settlement_setting_pb'; +import { + SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS, + SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING, + SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING, + SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING, + SUBJECT_GET_MEMBER_SETTLEMENT_SETTING, +} from 'app/modules/proto/c2se/backend/member_settlement_setting_pb'; + +@Injectable({ + providedIn: 'root', +}) +export class MemberSettlementSettingService { + /** + * Constructor + */ + constructor(private __natsService: NatsService) {} + + // ----------------------------------------------------------------------------------------------------- + // @ Accessors + // ----------------------------------------------------------------------------------------------------- + + // ----------------------------------------------------------------------------------------------------- + // @ Public methods + // ----------------------------------------------------------------------------------------------------- + + createMemberSettlementSetting(): Promise { + return new Promise( + (resolve, reject) => { + let req = new CreateMemberSettlementSettingRequest(); + + this.__natsService + .request( + SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING, + req.serializeBinary(), + CreateMemberSettlementSettingResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result, result.getMemberSettlementSetting()); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } + + listMemberSettlementSettings(): Promise { + return new Promise( + (resolve, reject) => { + let req = new ListMemberSettlementSettingsRequest(); + + this.__natsService + .request( + SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS, + req.serializeBinary(), + ListMemberSettlementSettingsResponse.deserializeBinary + ) + .then((result) => { + console.log( + 'success', + result, + result.getMemberSettlementSettingsList() + ); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + reject(e); + }); + } + ); + } + + getMemberSettlementSetting(): Promise { + return new Promise( + (resolve, reject) => { + let req = new GetMemberSettlementSettingRequest(); + + this.__natsService + .request( + SUBJECT_GET_MEMBER_SETTLEMENT_SETTING, + req.serializeBinary(), + GetMemberSettlementSettingResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result, result.getMemberSettlementSetting()); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } + + updateMemberSettlementSetting(): Promise { + return new Promise( + (resolve, reject) => { + let req = new UpdateMemberSettlementSettingRequest(); + + this.__natsService + .request( + SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING, + req.serializeBinary(), + UpdateMemberSettlementSettingResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result, result.getMemberSettlementSetting()); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } + + deleteMemberSettlementSetting(): Promise { + return new Promise( + (resolve, reject) => { + let req = new DeleteMemberSettlementSettingRequest(); + + this.__natsService + .request( + SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING, + req.serializeBinary(), + DeleteMemberSettlementSettingResponse.deserializeBinary + ) + .then((result) => { + console.log('success', result); + return resolve(result); + }) + .catch((e: Error) => { + console.log('failed', e); + return reject(e); + }); + } + ); + } +} diff --git a/src/app/modules/proto/c2se/backend/member_game_setting_pb.d.ts b/src/app/modules/proto/c2se/backend/member_game_setting_pb.d.ts new file mode 100644 index 0000000..a543ca2 --- /dev/null +++ b/src/app/modules/proto/c2se/backend/member_game_setting_pb.d.ts @@ -0,0 +1,10 @@ +// package: bet.beteran.c2se.backend.member_game_setting +// file: c2se/backend/member_game_setting.proto + +import * as jspb from 'google-protobuf'; + +export const SUBJECT_CREATE_MEMBER_GAME_SETTING: string; +export const SUBJECT_LIST_MEMBER_GAME_SETTINGS: string; +export const SUBJECT_GET_MEMBER_GAME_SETTING: string; +export const SUBJECT_UPDATE_MEMBER_GAME_SETTING: string; +export const SUBJECT_DELETE_MEMBER_GAME_SETTING: string; diff --git a/src/app/modules/proto/c2se/backend/member_game_setting_pb.js b/src/app/modules/proto/c2se/backend/member_game_setting_pb.js new file mode 100644 index 0000000..3b44945 --- /dev/null +++ b/src/app/modules/proto/c2se/backend/member_game_setting_pb.js @@ -0,0 +1,39 @@ +// source: c2se/backend/member_game_setting.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +goog.exportSymbol( + "proto.bet.beteran.c2se.backend.member_game_setting", + null, + global +); + +proto.bet.beteran.c2se.backend.member_game_setting = {}; + +proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_CREATE_MEMBER_GAME_SETTING = + "bet.beteran.c2se.backend.member_game_setting.CreateMemberGameSetting"; +proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_LIST_MEMBER_GAME_SETTINGS = + "bet.beteran.c2se.backend.member_game_setting.ListMemberGameSettings"; +proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_GET_MEMBER_GAME_SETTING = + "bet.beteran.c2se.backend.member_game_setting.GetMemberGameSetting"; +proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_UPDATE_MEMBER_GAME_SETTING = + "bet.beteran.c2se.backend.member_game_setting.UpdateMemberGameSetting"; +proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_DELETE_MEMBER_GAME_SETTING = + "bet.beteran.c2se.backend.member_game_setting.DeleteMemberGameSetting"; + +goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_game_setting); diff --git a/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.d.ts b/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.d.ts new file mode 100644 index 0000000..16dd915 --- /dev/null +++ b/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.d.ts @@ -0,0 +1,10 @@ +// package: bet.beteran.c2se.backend.member_settlement_setting +// file: c2se/backend/member_settlement_setting.proto + +import * as jspb from 'google-protobuf'; + +export const SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING: string; +export const SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS: string; +export const SUBJECT_GET_MEMBER_SETTLEMENT_SETTING: string; +export const SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING: string; +export const SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING: string; diff --git a/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.js b/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.js new file mode 100644 index 0000000..099d5c2 --- /dev/null +++ b/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.js @@ -0,0 +1,42 @@ +// source: c2se/backend/member_settlement_setting.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +goog.exportSymbol( + "proto.bet.beteran.c2se.backend.member_settlement_setting", + null, + global +); + +proto.bet.beteran.c2se.backend.member_settlement_setting = {}; + +proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING = + "bet.beteran.c2se.backend.member_settlement_setting.CreateMemberSettlementSetting"; +proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS = + "bet.beteran.c2se.backend.member_settlement_setting.ListMemberSettlementSettings"; +proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_GET_MEMBER_SETTLEMENT_SETTING = + "bet.beteran.c2se.backend.member_settlement_setting.GetMemberSettlementSetting"; +proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING = + "bet.beteran.c2se.backend.member_settlement_setting.UpdateMemberSettlementSetting"; +proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING = + "bet.beteran.c2se.backend.member_settlement_setting.DeleteMemberSettlementSetting"; + +goog.object.extend( + exports, + proto.bet.beteran.c2se.backend.member_settlement_setting +); 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 new file mode 100644 index 0000000..3a37523 --- /dev/null +++ b/src/app/modules/proto/c2se/member_game_setting_pb.d.ts @@ -0,0 +1,588 @@ +// package: bet.beteran.c2se.member_game_setting +// file: c2se/member_game_setting.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_game_setting_pb from '../models/member_game_setting_pb'; + +export class CreateMemberGameSettingRequest extends jspb.Message { + getMemberId(): string; + setMemberId(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateMemberGameSettingRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: CreateMemberGameSettingRequest + ): CreateMemberGameSettingRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberGameSettingRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): CreateMemberGameSettingRequest; + static deserializeBinaryFromReader( + message: CreateMemberGameSettingRequest, + reader: jspb.BinaryReader + ): CreateMemberGameSettingRequest; +} + +export namespace CreateMemberGameSettingRequest { + export type AsObject = { + memberId: string; + }; +} + +export class CreateMemberGameSettingResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): CreateMemberGameSettingResponse.Result | undefined; + setResult(value?: CreateMemberGameSettingResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateMemberGameSettingResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: CreateMemberGameSettingResponse + ): CreateMemberGameSettingResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberGameSettingResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): CreateMemberGameSettingResponse; + static deserializeBinaryFromReader( + message: CreateMemberGameSettingResponse, + reader: jspb.BinaryReader + ): CreateMemberGameSettingResponse; +} + +export namespace CreateMemberGameSettingResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateMemberGameSettingResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + hasMemberGameSetting(): boolean; + clearMemberGameSetting(): void; + getMemberGameSetting(): + | models_member_game_setting_pb.MemberGameSetting + | undefined; + setMemberGameSetting( + value?: models_member_game_setting_pb.MemberGameSetting + ): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Result.AsObject; + static toObject(includeInstance: boolean, msg: Result): Result.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Result, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = { + memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject; + }; + } +} + +export class ListMemberGameSettingsRequest extends jspb.Message { + hasPagination(): boolean; + clearPagination(): void; + getPagination(): protobuf_pagination_pb.Pagination | undefined; + setPagination(value?: protobuf_pagination_pb.Pagination): void; + + clearSortsList(): void; + getSortsList(): Array; + setSortsList(value: Array): void; + addSorts( + value?: protobuf_pagination_pb.Sort, + index?: number + ): protobuf_pagination_pb.Sort; + + hasSearch(): boolean; + clearSearch(): void; + getSearch(): ListMemberGameSettingsRequest.Search | undefined; + setSearch(value?: ListMemberGameSettingsRequest.Search): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListMemberGameSettingsRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: ListMemberGameSettingsRequest + ): ListMemberGameSettingsRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberGameSettingsRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): ListMemberGameSettingsRequest; + static deserializeBinaryFromReader( + message: ListMemberGameSettingsRequest, + reader: jspb.BinaryReader + ): ListMemberGameSettingsRequest; +} + +export namespace ListMemberGameSettingsRequest { + export type AsObject = { + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListMemberGameSettingsRequest.Search.AsObject; + }; + + export class Search extends jspb.Message { + hasMemberId(): boolean; + clearMemberId(): void; + getMemberId(): string; + setMemberId(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Search.AsObject; + static toObject(includeInstance: boolean, msg: Search): Search.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Search, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Search; + static deserializeBinaryFromReader( + message: Search, + reader: jspb.BinaryReader + ): Search; + } + + export namespace Search { + export type AsObject = { + memberId: string; + }; + } +} + +export class ListMemberGameSettingsResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): ListMemberGameSettingsResponse.Result | undefined; + setResult(value?: ListMemberGameSettingsResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListMemberGameSettingsResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: ListMemberGameSettingsResponse + ): ListMemberGameSettingsResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberGameSettingsResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): ListMemberGameSettingsResponse; + static deserializeBinaryFromReader( + message: ListMemberGameSettingsResponse, + reader: jspb.BinaryReader + ): ListMemberGameSettingsResponse; +} + +export namespace ListMemberGameSettingsResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListMemberGameSettingsResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + clearMemberGameSettingsList(): void; + getMemberGameSettingsList(): Array; + setMemberGameSettingsList( + value: Array + ): void; + addMemberGameSettings( + value?: models_member_game_setting_pb.MemberGameSetting, + index?: number + ): models_member_game_setting_pb.MemberGameSetting; + + 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 deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = { + memberGameSettingsList: Array; + }; + } +} + +export class GetMemberGameSettingRequest extends jspb.Message { + getId(): string; + setId(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetMemberGameSettingRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: GetMemberGameSettingRequest + ): GetMemberGameSettingRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberGameSettingRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): GetMemberGameSettingRequest; + static deserializeBinaryFromReader( + message: GetMemberGameSettingRequest, + reader: jspb.BinaryReader + ): GetMemberGameSettingRequest; +} + +export namespace GetMemberGameSettingRequest { + export type AsObject = { + id: string; + }; +} + +export class GetMemberGameSettingResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): GetMemberGameSettingResponse.Result | undefined; + setResult(value?: GetMemberGameSettingResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetMemberGameSettingResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: GetMemberGameSettingResponse + ): GetMemberGameSettingResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberGameSettingResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): GetMemberGameSettingResponse; + static deserializeBinaryFromReader( + message: GetMemberGameSettingResponse, + reader: jspb.BinaryReader + ): GetMemberGameSettingResponse; +} + +export namespace GetMemberGameSettingResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberGameSettingResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + hasMemberGameSetting(): boolean; + clearMemberGameSetting(): void; + getMemberGameSetting(): + | models_member_game_setting_pb.MemberGameSetting + | undefined; + setMemberGameSetting( + value?: models_member_game_setting_pb.MemberGameSetting + ): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Result.AsObject; + static toObject(includeInstance: boolean, msg: Result): Result.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Result, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = { + memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject; + }; + } +} + +export class UpdateMemberGameSettingRequest extends jspb.Message { + getId(): string; + setId(value: string): void; + + getCanBetCasino(): boolean; + setCanBetCasino(value: boolean): void; + + getCanBetSlot(): boolean; + setCanBetSlot(value: boolean): void; + + getCanBetPowerball(): boolean; + setCanBetPowerball(value: boolean): void; + + getCanBetPowerladder(): boolean; + setCanBetPowerladder(value: boolean): void; + + getCanBetEos(): boolean; + setCanBetEos(value: boolean): void; + + getCanBetBogglepowerball(): boolean; + setCanBetBogglepowerball(value: boolean): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UpdateMemberGameSettingRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberGameSettingRequest + ): UpdateMemberGameSettingRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberGameSettingRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): UpdateMemberGameSettingRequest; + static deserializeBinaryFromReader( + message: UpdateMemberGameSettingRequest, + reader: jspb.BinaryReader + ): UpdateMemberGameSettingRequest; +} + +export namespace UpdateMemberGameSettingRequest { + export type AsObject = { + id: string; + canBetCasino: boolean; + canBetSlot: boolean; + canBetPowerball: boolean; + canBetPowerladder: boolean; + canBetEos: boolean; + canBetBogglepowerball: boolean; + }; +} + +export class UpdateMemberGameSettingResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): UpdateMemberGameSettingResponse.Result | undefined; + setResult(value?: UpdateMemberGameSettingResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UpdateMemberGameSettingResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberGameSettingResponse + ): UpdateMemberGameSettingResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberGameSettingResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): UpdateMemberGameSettingResponse; + static deserializeBinaryFromReader( + message: UpdateMemberGameSettingResponse, + reader: jspb.BinaryReader + ): UpdateMemberGameSettingResponse; +} + +export namespace UpdateMemberGameSettingResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberGameSettingResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + hasMemberGameSetting(): boolean; + clearMemberGameSetting(): void; + getMemberGameSetting(): + | models_member_game_setting_pb.MemberGameSetting + | undefined; + setMemberGameSetting( + value?: models_member_game_setting_pb.MemberGameSetting + ): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Result.AsObject; + static toObject(includeInstance: boolean, msg: Result): Result.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Result, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = { + memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject; + }; + } +} + +export class DeleteMemberGameSettingRequest extends jspb.Message { + getId(): string; + setId(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DeleteMemberGameSettingRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: DeleteMemberGameSettingRequest + ): DeleteMemberGameSettingRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberGameSettingRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): DeleteMemberGameSettingRequest; + static deserializeBinaryFromReader( + message: DeleteMemberGameSettingRequest, + reader: jspb.BinaryReader + ): DeleteMemberGameSettingRequest; +} + +export namespace DeleteMemberGameSettingRequest { + export type AsObject = { + id: string; + }; +} + +export class DeleteMemberGameSettingResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): DeleteMemberGameSettingResponse.Result | undefined; + setResult(value?: DeleteMemberGameSettingResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DeleteMemberGameSettingResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: DeleteMemberGameSettingResponse + ): DeleteMemberGameSettingResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberGameSettingResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): DeleteMemberGameSettingResponse; + static deserializeBinaryFromReader( + message: DeleteMemberGameSettingResponse, + reader: jspb.BinaryReader + ): DeleteMemberGameSettingResponse; +} + +export namespace DeleteMemberGameSettingResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteMemberGameSettingResponse.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 deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = {}; + } +} diff --git a/src/app/modules/proto/c2se/member_game_setting_pb.js b/src/app/modules/proto/c2se/member_game_setting_pb.js new file mode 100644 index 0000000..28fc6ac --- /dev/null +++ b/src/app/modules/proto/c2se/member_game_setting_pb.js @@ -0,0 +1,3702 @@ +// source: c2se/member_game_setting.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +var protobuf_rpc_pb = require("../protobuf/rpc_pb.js"); +goog.object.extend(proto, protobuf_rpc_pb); +var protobuf_pagination_pb = require("../protobuf/pagination_pb.js"); +goog.object.extend(proto, protobuf_pagination_pb); +var models_member_game_setting_pb = require("../models/member_game_setting_pb.js"); +goog.object.extend(proto, models_member_game_setting_pb); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result", + null, + global +); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.displayName = + "proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest"; +} +/** + * 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_game_setting.CreateMemberGameSettingResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.displayName = + "proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse"; +} +/** + * 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_game_setting.CreateMemberGameSettingResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse + .Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.displayName = + "proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.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_game_setting.ListMemberGameSettingsRequest = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest + .repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.displayName = + "proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest"; +} +/** + * 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_game_setting.ListMemberGameSettingsRequest.Search = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest + .Search, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.displayName = + "proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search"; +} +/** + * 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_game_setting.ListMemberGameSettingsResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.displayName = + "proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse"; +} +/** + * 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_game_setting.ListMemberGameSettingsResponse.Result = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse + .Result.repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse + .Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.displayName = + "proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.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_game_setting.GetMemberGameSettingRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.displayName = + "proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest"; +} +/** + * 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_game_setting.GetMemberGameSettingResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.displayName = + "proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse"; +} +/** + * 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_game_setting.GetMemberGameSettingResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse + .Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.displayName = + "proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.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_game_setting.UpdateMemberGameSettingRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.displayName = + "proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest"; +} +/** + * 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_game_setting.UpdateMemberGameSettingResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.displayName = + "proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse"; +} +/** + * 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_game_setting.UpdateMemberGameSettingResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse + .Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.displayName = + "proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.displayName = + "proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest"; +} +/** + * 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_game_setting.DeleteMemberGameSettingResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.displayName = + "proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse"; +} +/** + * 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_game_setting.DeleteMemberGameSettingResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse + .Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result.displayName = + "proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.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_game_setting.CreateMemberGameSettingRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.CreateMemberGameSettingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberId: 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_game_setting.CreateMemberGameSettingRequest} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest(); + return proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberId(); + if (f.length > 0) { + writer.writeString(1, f); + } + }; + +/** + * optional string member_id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingRequest.prototype.setMemberId = + 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_game_setting.CreateMemberGameSettingResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.CreateMemberGameSettingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.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_game_setting.CreateMemberGameSettingResponse.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_game_setting.CreateMemberGameSettingResponse} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse(); + return proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.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_game_setting.CreateMemberGameSettingResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_game_setting + .CreateMemberGameSettingResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.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_game_setting + .CreateMemberGameSettingResponse.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_game_setting.CreateMemberGameSettingResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.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_game_setting.CreateMemberGameSettingResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberGameSetting: + (f = msg.getMemberGameSetting()) && + models_member_game_setting_pb.MemberGameSetting.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_game_setting.CreateMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result(); + return proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.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_game_setting_pb.MemberGameSetting(); + reader.readMessage( + value, + models_member_game_setting_pb.MemberGameSetting + .deserializeBinaryFromReader + ); + msg.setMemberGameSetting(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberGameSetting(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter + ); + } + }; + +/** + * optional bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1; + * @return {?proto.bet.beteran.member_game_setting.MemberGameSetting} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.prototype.getMemberGameSetting = + function () { + return /** @type{?proto.bet.beteran.member_game_setting.MemberGameSetting} */ ( + jspb.Message.getWrapperField( + this, + models_member_game_setting_pb.MemberGameSetting, + 1 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.member_game_setting.MemberGameSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.prototype.setMemberGameSetting = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.prototype.clearMemberGameSetting = + function () { + return this.setMemberGameSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result.prototype.hasMemberGameSetting = + 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_game_setting.CreateMemberGameSettingResponse.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_game_setting.CreateMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_game_setting + .CreateMemberGameSettingResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.CreateMemberGameSettingResponse.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_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.ListMemberGameSettingsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsRequest.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.member_game_setting.ListMemberGameSettingsRequest} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest(); + return proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_game_setting + .ListMemberGameSettingsRequest.Search.deserializeBinaryFromReader + ); + msg.setSearch(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsRequest + .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_game_setting.ListMemberGameSettingsRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberId: 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_game_setting.ListMemberGameSettingsRequest.Search} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search(); + return proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString(1, f); + } + }; + +/** + * optional string member_id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.prototype.setMemberId = + function (value) { + return jspb.Message.setField(this, 1, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.prototype.clearMemberId = + function () { + return jspb.Message.setField(this, 1, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search.prototype.hasMemberId = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional bet.protobuf.pagination.Pagination pagination = 1; + * @return {?proto.bet.protobuf.pagination.Pagination} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.setPagination = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.hasPagination = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * repeated bet.protobuf.pagination.Sort sorts = 2; + * @return {!Array} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.getSortsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2) + ); + }; + +/** + * @param {!Array} value + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; + +/** + * optional Search search = 3; + * @return {?proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.getSearch = + function () { + return /** @type{?proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest + .Search, + 3 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.Search|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.setSearch = + function (value) { + return jspb.Message.setWrapperField(this, 3, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.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_game_setting.ListMemberGameSettingsResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.ListMemberGameSettingsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.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_game_setting.ListMemberGameSettingsResponse.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_game_setting.ListMemberGameSettingsResponse} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse(); + return proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.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_game_setting.ListMemberGameSettingsResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_game_setting + .ListMemberGameSettingsResponse.Result.deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.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_game_setting + .ListMemberGameSettingsResponse.Result.serializeBinaryToWriter + ); + } + }; + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.repeatedFields_ = + [1]; + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.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_game_setting.ListMemberGameSettingsResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberGameSettingsList: jspb.Message.toObjectList( + msg.getMemberGameSettingsList(), + models_member_game_setting_pb.MemberGameSetting.toObject, + includeInstance + ), + }; + + 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_game_setting.ListMemberGameSettingsResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result(); + return proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.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_game_setting_pb.MemberGameSetting(); + reader.readMessage( + value, + models_member_game_setting_pb.MemberGameSetting + .deserializeBinaryFromReader + ); + msg.addMemberGameSettings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberGameSettingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter + ); + } + }; + +/** + * repeated bet.beteran.member_game_setting.MemberGameSetting member_game_settings = 1; + * @return {!Array} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.getMemberGameSettingsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField( + this, + models_member_game_setting_pb.MemberGameSetting, + 1 + ) + ); + }; + +/** + * @param {!Array} value + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.setMemberGameSettingsList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); + }; + +/** + * @param {!proto.bet.beteran.member_game_setting.MemberGameSetting=} opt_value + * @param {number=} opt_index + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.addMemberGameSettings = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 1, + opt_value, + proto.bet.beteran.member_game_setting.MemberGameSetting, + opt_index + ); + }; + +/** + * Clears the list making it empty but non-null. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.clearMemberGameSettingsList = + function () { + return this.setMemberGameSettingsList([]); + }; + +/** + * optional bet.protobuf.rpc.Error error = 1; + * @return {?proto.bet.protobuf.rpc.Error} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.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_game_setting.ListMemberGameSettingsResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_game_setting + .ListMemberGameSettingsResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.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_game_setting.GetMemberGameSettingRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.GetMemberGameSettingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.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_game_setting.GetMemberGameSettingRequest} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest(); + return proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.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; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.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_game_setting.GetMemberGameSettingRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingRequest.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_game_setting.GetMemberGameSettingResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.GetMemberGameSettingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.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_game_setting.GetMemberGameSettingResponse.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_game_setting.GetMemberGameSettingResponse} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse(); + return proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.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_game_setting.GetMemberGameSettingResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_game_setting + .GetMemberGameSettingResponse.Result.deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.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_game_setting.GetMemberGameSettingResponse + .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_game_setting.GetMemberGameSettingResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.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_game_setting.GetMemberGameSettingResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberGameSetting: + (f = msg.getMemberGameSetting()) && + models_member_game_setting_pb.MemberGameSetting.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_game_setting.GetMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result(); + return proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.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_game_setting_pb.MemberGameSetting(); + reader.readMessage( + value, + models_member_game_setting_pb.MemberGameSetting + .deserializeBinaryFromReader + ); + msg.setMemberGameSetting(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberGameSetting(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter + ); + } + }; + +/** + * optional bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1; + * @return {?proto.bet.beteran.member_game_setting.MemberGameSetting} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.prototype.getMemberGameSetting = + function () { + return /** @type{?proto.bet.beteran.member_game_setting.MemberGameSetting} */ ( + jspb.Message.getWrapperField( + this, + models_member_game_setting_pb.MemberGameSetting, + 1 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.member_game_setting.MemberGameSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.prototype.setMemberGameSetting = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.prototype.clearMemberGameSetting = + function () { + return this.setMemberGameSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result.prototype.hasMemberGameSetting = + 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_game_setting.GetMemberGameSettingResponse.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_game_setting.GetMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse + .Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.GetMemberGameSettingResponse.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_game_setting.UpdateMemberGameSettingRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.UpdateMemberGameSettingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + canBetCasino: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + canBetSlot: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + canBetPowerball: jspb.Message.getBooleanFieldWithDefault( + msg, + 4, + false + ), + canBetPowerladder: jspb.Message.getBooleanFieldWithDefault( + msg, + 5, + false + ), + canBetEos: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + canBetBogglepowerball: jspb.Message.getBooleanFieldWithDefault( + msg, + 7, + 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_game_setting.UpdateMemberGameSettingRequest} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest(); + return proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.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 {boolean} */ (reader.readBool()); + msg.setCanBetCasino(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetSlot(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetPowerball(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetPowerladder(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetEos(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetBogglepowerball(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getCanBetCasino(); + if (f) { + writer.writeBool(2, f); + } + f = message.getCanBetSlot(); + if (f) { + writer.writeBool(3, f); + } + f = message.getCanBetPowerball(); + if (f) { + writer.writeBool(4, f); + } + f = message.getCanBetPowerladder(); + if (f) { + writer.writeBool(5, f); + } + f = message.getCanBetEos(); + if (f) { + writer.writeBool(6, f); + } + f = message.getCanBetBogglepowerball(); + if (f) { + writer.writeBool(7, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional bool can_bet_casino = 2; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.getCanBetCasino = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.setCanBetCasino = + function (value) { + return jspb.Message.setProto3BooleanField(this, 2, value); + }; + +/** + * optional bool can_bet_slot = 3; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.getCanBetSlot = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.setCanBetSlot = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; + +/** + * optional bool can_bet_powerball = 4; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.getCanBetPowerball = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.setCanBetPowerball = + function (value) { + return jspb.Message.setProto3BooleanField(this, 4, value); + }; + +/** + * optional bool can_bet_powerladder = 5; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.getCanBetPowerladder = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.setCanBetPowerladder = + function (value) { + return jspb.Message.setProto3BooleanField(this, 5, value); + }; + +/** + * optional bool can_bet_eos = 6; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.getCanBetEos = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 6, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.setCanBetEos = + function (value) { + return jspb.Message.setProto3BooleanField(this, 6, value); + }; + +/** + * optional bool can_bet_bogglepowerball = 7; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.getCanBetBogglepowerball = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 7, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingRequest.prototype.setCanBetBogglepowerball = + function (value) { + return jspb.Message.setProto3BooleanField(this, 7, 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_game_setting.UpdateMemberGameSettingResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.UpdateMemberGameSettingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.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_game_setting.UpdateMemberGameSettingResponse.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_game_setting.UpdateMemberGameSettingResponse} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse(); + return proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.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_game_setting.UpdateMemberGameSettingResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_game_setting + .UpdateMemberGameSettingResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.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_game_setting + .UpdateMemberGameSettingResponse.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_game_setting.UpdateMemberGameSettingResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.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_game_setting.UpdateMemberGameSettingResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberGameSetting: + (f = msg.getMemberGameSetting()) && + models_member_game_setting_pb.MemberGameSetting.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_game_setting.UpdateMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result(); + return proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.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_game_setting_pb.MemberGameSetting(); + reader.readMessage( + value, + models_member_game_setting_pb.MemberGameSetting + .deserializeBinaryFromReader + ); + msg.setMemberGameSetting(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberGameSetting(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter + ); + } + }; + +/** + * optional bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 1; + * @return {?proto.bet.beteran.member_game_setting.MemberGameSetting} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.prototype.getMemberGameSetting = + function () { + return /** @type{?proto.bet.beteran.member_game_setting.MemberGameSetting} */ ( + jspb.Message.getWrapperField( + this, + models_member_game_setting_pb.MemberGameSetting, + 1 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.member_game_setting.MemberGameSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.prototype.setMemberGameSetting = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.prototype.clearMemberGameSetting = + function () { + return this.setMemberGameSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result.prototype.hasMemberGameSetting = + 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_game_setting.UpdateMemberGameSettingResponse.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_game_setting.UpdateMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_game_setting + .UpdateMemberGameSettingResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.UpdateMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.DeleteMemberGameSettingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.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_game_setting.DeleteMemberGameSettingRequest} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest(); + return proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.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; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.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_game_setting.DeleteMemberGameSettingRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingRequest.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_game_setting.DeleteMemberGameSettingResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_game_setting.DeleteMemberGameSettingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingResponse} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse(); + return proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_game_setting + .DeleteMemberGameSettingResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.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_game_setting + .DeleteMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result(); + return proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingResponse.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_game_setting.DeleteMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_game_setting + .DeleteMemberGameSettingResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_game_setting.DeleteMemberGameSettingResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; + +goog.object.extend(exports, proto.bet.beteran.c2se.member_game_setting); 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 new file mode 100644 index 0000000..8e971d5 --- /dev/null +++ b/src/app/modules/proto/c2se/member_settlement_setting_pb.d.ts @@ -0,0 +1,688 @@ +// package: bet.beteran.c2se.member_settlement_setting +// file: c2se/member_settlement_setting.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_settlement_setting_pb from '../models/member_settlement_setting_pb'; + +export class CreateMemberSettlementSettingRequest extends jspb.Message { + getMemberId(): string; + setMemberId(value: string): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): CreateMemberSettlementSettingRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: CreateMemberSettlementSettingRequest + ): CreateMemberSettlementSettingRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberSettlementSettingRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): CreateMemberSettlementSettingRequest; + static deserializeBinaryFromReader( + message: CreateMemberSettlementSettingRequest, + reader: jspb.BinaryReader + ): CreateMemberSettlementSettingRequest; +} + +export namespace CreateMemberSettlementSettingRequest { + export type AsObject = { + memberId: string; + }; +} + +export class CreateMemberSettlementSettingResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): CreateMemberSettlementSettingResponse.Result | undefined; + setResult(value?: CreateMemberSettlementSettingResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): CreateMemberSettlementSettingResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: CreateMemberSettlementSettingResponse + ): CreateMemberSettlementSettingResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: CreateMemberSettlementSettingResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): CreateMemberSettlementSettingResponse; + static deserializeBinaryFromReader( + message: CreateMemberSettlementSettingResponse, + reader: jspb.BinaryReader + ): CreateMemberSettlementSettingResponse; +} + +export namespace CreateMemberSettlementSettingResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: CreateMemberSettlementSettingResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + hasMemberSettlementSetting(): boolean; + clearMemberSettlementSetting(): void; + getMemberSettlementSetting(): + | models_member_settlement_setting_pb.MemberSettlementSetting + | undefined; + setMemberSettlementSetting( + value?: models_member_settlement_setting_pb.MemberSettlementSetting + ): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Result.AsObject; + static toObject(includeInstance: boolean, msg: Result): Result.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Result, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = { + memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject; + }; + } +} + +export class ListMemberSettlementSettingsRequest extends jspb.Message { + hasPagination(): boolean; + clearPagination(): void; + getPagination(): protobuf_pagination_pb.Pagination | undefined; + setPagination(value?: protobuf_pagination_pb.Pagination): void; + + clearSortsList(): void; + getSortsList(): Array; + setSortsList(value: Array): void; + addSorts( + value?: protobuf_pagination_pb.Sort, + index?: number + ): protobuf_pagination_pb.Sort; + + hasSearch(): boolean; + clearSearch(): void; + getSearch(): ListMemberSettlementSettingsRequest.Search | undefined; + setSearch(value?: ListMemberSettlementSettingsRequest.Search): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): ListMemberSettlementSettingsRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: ListMemberSettlementSettingsRequest + ): ListMemberSettlementSettingsRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberSettlementSettingsRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): ListMemberSettlementSettingsRequest; + static deserializeBinaryFromReader( + message: ListMemberSettlementSettingsRequest, + reader: jspb.BinaryReader + ): ListMemberSettlementSettingsRequest; +} + +export namespace ListMemberSettlementSettingsRequest { + export type AsObject = { + pagination?: protobuf_pagination_pb.Pagination.AsObject; + sortsList: Array; + search?: ListMemberSettlementSettingsRequest.Search.AsObject; + }; + + export class Search extends jspb.Message { + hasMemberId(): boolean; + clearMemberId(): void; + getMemberId(): string; + setMemberId(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Search.AsObject; + static toObject(includeInstance: boolean, msg: Search): Search.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Search, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Search; + static deserializeBinaryFromReader( + message: Search, + reader: jspb.BinaryReader + ): Search; + } + + export namespace Search { + export type AsObject = { + memberId: string; + }; + } +} + +export class ListMemberSettlementSettingsResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): ListMemberSettlementSettingsResponse.Result | undefined; + setResult(value?: ListMemberSettlementSettingsResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): ListMemberSettlementSettingsResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: ListMemberSettlementSettingsResponse + ): ListMemberSettlementSettingsResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: ListMemberSettlementSettingsResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): ListMemberSettlementSettingsResponse; + static deserializeBinaryFromReader( + message: ListMemberSettlementSettingsResponse, + reader: jspb.BinaryReader + ): ListMemberSettlementSettingsResponse; +} + +export namespace ListMemberSettlementSettingsResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: ListMemberSettlementSettingsResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + clearMemberSettlementSettingsList(): void; + getMemberSettlementSettingsList(): Array; + setMemberSettlementSettingsList( + value: Array + ): void; + addMemberSettlementSettings( + value?: models_member_settlement_setting_pb.MemberSettlementSetting, + index?: number + ): models_member_settlement_setting_pb.MemberSettlementSetting; + + 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 deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = { + memberSettlementSettingsList: Array; + }; + } +} + +export class GetMemberSettlementSettingRequest extends jspb.Message { + getId(): string; + setId(value: string): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): GetMemberSettlementSettingRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: GetMemberSettlementSettingRequest + ): GetMemberSettlementSettingRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberSettlementSettingRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): GetMemberSettlementSettingRequest; + static deserializeBinaryFromReader( + message: GetMemberSettlementSettingRequest, + reader: jspb.BinaryReader + ): GetMemberSettlementSettingRequest; +} + +export namespace GetMemberSettlementSettingRequest { + export type AsObject = { + id: string; + }; +} + +export class GetMemberSettlementSettingResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): GetMemberSettlementSettingResponse.Result | undefined; + setResult(value?: GetMemberSettlementSettingResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): GetMemberSettlementSettingResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: GetMemberSettlementSettingResponse + ): GetMemberSettlementSettingResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GetMemberSettlementSettingResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): GetMemberSettlementSettingResponse; + static deserializeBinaryFromReader( + message: GetMemberSettlementSettingResponse, + reader: jspb.BinaryReader + ): GetMemberSettlementSettingResponse; +} + +export namespace GetMemberSettlementSettingResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: GetMemberSettlementSettingResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + hasMemberSettlementSetting(): boolean; + clearMemberSettlementSetting(): void; + getMemberSettlementSetting(): + | models_member_settlement_setting_pb.MemberSettlementSetting + | undefined; + setMemberSettlementSetting( + value?: models_member_settlement_setting_pb.MemberSettlementSetting + ): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Result.AsObject; + static toObject(includeInstance: boolean, msg: Result): Result.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Result, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = { + memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject; + }; + } +} + +export class UpdateMemberSettlementSettingRequest extends jspb.Message { + getId(): string; + setId(value: string): void; + + getCanExchange(): boolean; + setCanExchange(value: boolean): void; + + getCanFirstChargeComp(): boolean; + setCanFirstChargeComp(value: boolean): void; + + getCanPerChargeComp(): boolean; + setCanPerChargeComp(value: boolean): void; + + getSettlementType(): models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap]; + setSettlementType( + value: models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap] + ): void; + + getManualPaymentTypeForPartner(): models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap]; + setManualPaymentTypeForPartner( + value: models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap] + ): void; + + getRateCasino(): number; + setRateCasino(value: number): void; + + getRateCasinoLoosing(): number; + setRateCasinoLoosing(value: number): void; + + getRateCasinoBacara(): number; + setRateCasinoBacara(value: number): void; + + getRateCasinoRoulette(): number; + setRateCasinoRoulette(value: number): void; + + getRateCasinoDragonTiger(): number; + setRateCasinoDragonTiger(value: number): void; + + getRateSlot(): number; + setRateSlot(value: number): void; + + getRateSlotLoosing(): number; + setRateSlotLoosing(value: number): void; + + getRatePowerballSingle(): number; + setRatePowerballSingle(value: number): void; + + getRatePowerballCombo(): number; + setRatePowerballCombo(value: number): void; + + getRatePowerladderSingle(): number; + setRatePowerladderSingle(value: number): void; + + getRatePowerladderCombo(): number; + setRatePowerladderCombo(value: number): void; + + getRateEosSingle(): number; + setRateEosSingle(value: number): void; + + getRateEosCombo(): number; + setRateEosCombo(value: number): void; + + getRateBogglepowerballSingle(): number; + setRateBogglepowerballSingle(value: number): void; + + getRateBogglepowerballCombo(): number; + setRateBogglepowerballCombo(value: number): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): UpdateMemberSettlementSettingRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberSettlementSettingRequest + ): UpdateMemberSettlementSettingRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberSettlementSettingRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): UpdateMemberSettlementSettingRequest; + static deserializeBinaryFromReader( + message: UpdateMemberSettlementSettingRequest, + reader: jspb.BinaryReader + ): UpdateMemberSettlementSettingRequest; +} + +export namespace UpdateMemberSettlementSettingRequest { + export type AsObject = { + id: string; + canExchange: boolean; + canFirstChargeComp: boolean; + canPerChargeComp: boolean; + settlementType: models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap]; + manualPaymentTypeForPartner: models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap]; + rateCasino: number; + rateCasinoLoosing: number; + rateCasinoBacara: number; + rateCasinoRoulette: number; + rateCasinoDragonTiger: number; + rateSlot: number; + rateSlotLoosing: number; + ratePowerballSingle: number; + ratePowerballCombo: number; + ratePowerladderSingle: number; + ratePowerladderCombo: number; + rateEosSingle: number; + rateEosCombo: number; + rateBogglepowerballSingle: number; + rateBogglepowerballCombo: number; + }; +} + +export class UpdateMemberSettlementSettingResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): UpdateMemberSettlementSettingResponse.Result | undefined; + setResult(value?: UpdateMemberSettlementSettingResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): UpdateMemberSettlementSettingResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: UpdateMemberSettlementSettingResponse + ): UpdateMemberSettlementSettingResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: UpdateMemberSettlementSettingResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): UpdateMemberSettlementSettingResponse; + static deserializeBinaryFromReader( + message: UpdateMemberSettlementSettingResponse, + reader: jspb.BinaryReader + ): UpdateMemberSettlementSettingResponse; +} + +export namespace UpdateMemberSettlementSettingResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: UpdateMemberSettlementSettingResponse.Result.AsObject; + }; + + export class Result extends jspb.Message { + hasMemberSettlementSetting(): boolean; + clearMemberSettlementSetting(): void; + getMemberSettlementSetting(): + | models_member_settlement_setting_pb.MemberSettlementSetting + | undefined; + setMemberSettlementSetting( + value?: models_member_settlement_setting_pb.MemberSettlementSetting + ): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Result.AsObject; + static toObject(includeInstance: boolean, msg: Result): Result.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Result, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = { + memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject; + }; + } +} + +export class DeleteMemberSettlementSettingRequest extends jspb.Message { + getId(): string; + setId(value: string): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): DeleteMemberSettlementSettingRequest.AsObject; + static toObject( + includeInstance: boolean, + msg: DeleteMemberSettlementSettingRequest + ): DeleteMemberSettlementSettingRequest.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberSettlementSettingRequest, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): DeleteMemberSettlementSettingRequest; + static deserializeBinaryFromReader( + message: DeleteMemberSettlementSettingRequest, + reader: jspb.BinaryReader + ): DeleteMemberSettlementSettingRequest; +} + +export namespace DeleteMemberSettlementSettingRequest { + export type AsObject = { + id: string; + }; +} + +export class DeleteMemberSettlementSettingResponse extends jspb.Message { + hasError(): boolean; + clearError(): void; + getError(): protobuf_rpc_pb.Error | undefined; + setError(value?: protobuf_rpc_pb.Error): void; + + hasResult(): boolean; + clearResult(): void; + getResult(): DeleteMemberSettlementSettingResponse.Result | undefined; + setResult(value?: DeleteMemberSettlementSettingResponse.Result): void; + + serializeBinary(): Uint8Array; + toObject( + includeInstance?: boolean + ): DeleteMemberSettlementSettingResponse.AsObject; + static toObject( + includeInstance: boolean, + msg: DeleteMemberSettlementSettingResponse + ): DeleteMemberSettlementSettingResponse.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: DeleteMemberSettlementSettingResponse, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary( + bytes: Uint8Array + ): DeleteMemberSettlementSettingResponse; + static deserializeBinaryFromReader( + message: DeleteMemberSettlementSettingResponse, + reader: jspb.BinaryReader + ): DeleteMemberSettlementSettingResponse; +} + +export namespace DeleteMemberSettlementSettingResponse { + export type AsObject = { + error?: protobuf_rpc_pb.Error.AsObject; + result?: DeleteMemberSettlementSettingResponse.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 deserializeBinary(bytes: Uint8Array): Result; + static deserializeBinaryFromReader( + message: Result, + reader: jspb.BinaryReader + ): Result; + } + + export namespace Result { + export type AsObject = {}; + } +} diff --git a/src/app/modules/proto/c2se/member_settlement_setting_pb.js b/src/app/modules/proto/c2se/member_settlement_setting_pb.js new file mode 100644 index 0000000..d8cc4f1 --- /dev/null +++ b/src/app/modules/proto/c2se/member_settlement_setting_pb.js @@ -0,0 +1,4186 @@ +// source: c2se/member_settlement_setting.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +var protobuf_rpc_pb = require("../protobuf/rpc_pb.js"); +goog.object.extend(proto, protobuf_rpc_pb); +var protobuf_pagination_pb = require("../protobuf/pagination_pb.js"); +goog.object.extend(proto, protobuf_pagination_pb); +var models_member_settlement_setting_pb = require("../models/member_settlement_setting_pb.js"); +goog.object.extend(proto, models_member_settlement_setting_pb); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result", + null, + global +); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .CreateMemberSettlementSettingRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest"; +} +/** + * 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_settlement_setting.CreateMemberSettlementSettingResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .CreateMemberSettlementSettingResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse"; +} +/** + * 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_settlement_setting.CreateMemberSettlementSettingResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .CreateMemberSettlementSettingResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.ListMemberSettlementSettingsRequest = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsRequest.repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest"; +} +/** + * 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_settlement_setting.ListMemberSettlementSettingsRequest.Search = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsRequest.Search, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search"; +} +/** + * 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_settlement_setting.ListMemberSettlementSettingsResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse"; +} +/** + * 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_settlement_setting.ListMemberSettlementSettingsResponse.Result = + function (opt_data) { + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsResponse.Result.repeatedFields_, + null + ); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.GetMemberSettlementSettingRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .GetMemberSettlementSettingRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest"; +} +/** + * 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_settlement_setting.GetMemberSettlementSettingResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .GetMemberSettlementSettingResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse"; +} +/** + * 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_settlement_setting.GetMemberSettlementSettingResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .GetMemberSettlementSettingResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .UpdateMemberSettlementSettingRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest"; +} +/** + * 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_settlement_setting.UpdateMemberSettlementSettingResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .UpdateMemberSettlementSettingResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse"; +} +/** + * 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_settlement_setting.UpdateMemberSettlementSettingResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .UpdateMemberSettlementSettingResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingRequest = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .DeleteMemberSettlementSettingRequest, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest"; +} +/** + * 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_settlement_setting.DeleteMemberSettlementSettingResponse = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .DeleteMemberSettlementSettingResponse, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse"; +} +/** + * 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_settlement_setting.DeleteMemberSettlementSettingResponse.Result = + function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); + }; +goog.inherits( + proto.bet.beteran.c2se.member_settlement_setting + .DeleteMemberSettlementSettingResponse.Result, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result.displayName = + "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.CreateMemberSettlementSettingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberId: 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_settlement_setting.CreateMemberSettlementSettingRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest(); + return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberId(); + if (f.length > 0) { + writer.writeString(1, f); + } + }; + +/** + * optional string member_id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.prototype.setMemberId = + 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_settlement_setting.CreateMemberSettlementSettingResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.CreateMemberSettlementSettingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse(); + return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_settlement_setting + .CreateMemberSettlementSettingResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting + .CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberSettlementSetting: + (f = msg.getMemberSettlementSetting()) && + models_member_settlement_setting_pb.MemberSettlementSetting.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_settlement_setting.CreateMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result(); + return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting_pb.MemberSettlementSetting(); + reader.readMessage( + value, + models_member_settlement_setting_pb.MemberSettlementSetting + .deserializeBinaryFromReader + ); + msg.setMemberSettlementSetting(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberSettlementSetting(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_settlement_setting_pb.MemberSettlementSetting + .serializeBinaryToWriter + ); + } + }; + +/** + * optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1; + * @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.getMemberSettlementSetting = + function () { + return /** @type{?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} */ ( + jspb.Message.getWrapperField( + this, + models_member_settlement_setting_pb.MemberSettlementSetting, + 1 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.setMemberSettlementSetting = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.clearMemberSettlementSetting = + function () { + return this.setMemberSettlementSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.hasMemberSettlementSetting = + 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_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_settlement_setting + .CreateMemberSettlementSettingResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.ListMemberSettlementSettingsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.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.member_settlement_setting.ListMemberSettlementSettingsRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest(); + return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.Search(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsRequest.Search + .deserializeBinaryFromReader + ); + msg.setSearch(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting + .ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.Search.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.Search} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberId: 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_settlement_setting.ListMemberSettlementSettingsRequest.Search} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search(); + return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString(1, f); + } + }; + +/** + * optional string member_id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.prototype.setMemberId = + function (value) { + return jspb.Message.setField(this, 1, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.prototype.clearMemberId = + function () { + return jspb.Message.setField(this, 1, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.prototype.hasMemberId = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional bet.protobuf.pagination.Pagination pagination = 1; + * @return {?proto.bet.protobuf.pagination.Pagination} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.setPagination = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.clearPagination = + function () { + return this.setPagination(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.hasPagination = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * repeated bet.protobuf.pagination.Sort sorts = 2; + * @return {!Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.getSortsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2) + ); + }; + +/** + * @param {!Array} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.clearSortsList = + function () { + return this.setSortsList([]); + }; + +/** + * optional Search search = 3; + * @return {?proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.getSearch = + function () { + return /** @type{?proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsRequest.Search, + 3 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.setSearch = + function (value) { + return jspb.Message.setWrapperField(this, 3, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.clearSearch = + function () { + return this.setSearch(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.ListMemberSettlementSettingsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.ListMemberSettlementSettingsResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse(); + return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.ListMemberSettlementSettingsResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting + .ListMemberSettlementSettingsResponse.Result.serializeBinaryToWriter + ); + } + }; + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.repeatedFields_ = + [1]; + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.ListMemberSettlementSettingsResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberSettlementSettingsList: jspb.Message.toObjectList( + msg.getMemberSettlementSettingsList(), + models_member_settlement_setting_pb.MemberSettlementSetting + .toObject, + includeInstance + ), + }; + + 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_settlement_setting.ListMemberSettlementSettingsResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result(); + return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting_pb.MemberSettlementSetting(); + reader.readMessage( + value, + models_member_settlement_setting_pb.MemberSettlementSetting + .deserializeBinaryFromReader + ); + msg.addMemberSettlementSettings(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberSettlementSettingsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + models_member_settlement_setting_pb.MemberSettlementSetting + .serializeBinaryToWriter + ); + } + }; + +/** + * repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 1; + * @return {!Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.getMemberSettlementSettingsList = + function () { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField( + this, + models_member_settlement_setting_pb.MemberSettlementSetting, + 1 + ) + ); + }; + +/** + * @param {!Array} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.setMemberSettlementSettingsList = + function (value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting=} opt_value + * @param {number=} opt_index + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.addMemberSettlementSettings = + function (opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField( + this, + 1, + opt_value, + proto.bet.beteran.member_settlement_setting.MemberSettlementSetting, + opt_index + ); + }; + +/** + * Clears the list making it empty but non-null. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.clearMemberSettlementSettingsList = + function () { + return this.setMemberSettlementSettingsList([]); + }; + +/** + * optional bet.protobuf.rpc.Error error = 1; + * @return {?proto.bet.protobuf.rpc.Error} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.ListMemberSettlementSettingsResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_settlement_setting + .ListMemberSettlementSettingsResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.GetMemberSettlementSettingRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.GetMemberSettlementSettingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.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_settlement_setting.GetMemberSettlementSettingRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest(); + return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.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; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.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_settlement_setting.GetMemberSettlementSettingRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.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_settlement_setting.GetMemberSettlementSettingResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.GetMemberSettlementSettingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse(); + return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_settlement_setting + .GetMemberSettlementSettingResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting + .GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberSettlementSetting: + (f = msg.getMemberSettlementSetting()) && + models_member_settlement_setting_pb.MemberSettlementSetting.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_settlement_setting.GetMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result(); + return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting_pb.MemberSettlementSetting(); + reader.readMessage( + value, + models_member_settlement_setting_pb.MemberSettlementSetting + .deserializeBinaryFromReader + ); + msg.setMemberSettlementSetting(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberSettlementSetting(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_settlement_setting_pb.MemberSettlementSetting + .serializeBinaryToWriter + ); + } + }; + +/** + * optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1; + * @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.getMemberSettlementSetting = + function () { + return /** @type{?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} */ ( + jspb.Message.getWrapperField( + this, + models_member_settlement_setting_pb.MemberSettlementSetting, + 1 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.setMemberSettlementSetting = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.clearMemberSettlementSetting = + function () { + return this.setMemberSettlementSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.hasMemberSettlementSetting = + 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_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_settlement_setting + .GetMemberSettlementSettingResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.UpdateMemberSettlementSettingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + canExchange: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + canFirstChargeComp: jspb.Message.getBooleanFieldWithDefault( + msg, + 3, + false + ), + canPerChargeComp: jspb.Message.getBooleanFieldWithDefault( + msg, + 4, + false + ), + settlementType: jspb.Message.getFieldWithDefault(msg, 5, 0), + manualPaymentTypeForPartner: jspb.Message.getFieldWithDefault( + msg, + 6, + 0 + ), + rateCasino: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 7, + 0.0 + ), + rateCasinoLoosing: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 8, + 0.0 + ), + rateCasinoBacara: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 9, + 0.0 + ), + rateCasinoRoulette: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 10, + 0.0 + ), + rateCasinoDragonTiger: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 11, + 0.0 + ), + rateSlot: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0), + rateSlotLoosing: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 13, + 0.0 + ), + ratePowerballSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 14, + 0.0 + ), + ratePowerballCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 15, + 0.0 + ), + ratePowerladderSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 16, + 0.0 + ), + ratePowerladderCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 17, + 0.0 + ), + rateEosSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 18, + 0.0 + ), + rateEosCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 19, + 0.0 + ), + rateBogglepowerballSingle: + jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0), + rateBogglepowerballCombo: + jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.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_settlement_setting.UpdateMemberSettlementSettingRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest(); + return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.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 {boolean} */ (reader.readBool()); + msg.setCanExchange(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanFirstChargeComp(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanPerChargeComp(value); + break; + case 5: + var value = + /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ ( + reader.readEnum() + ); + msg.setSettlementType(value); + break; + case 6: + var value = + /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ ( + reader.readEnum() + ); + msg.setManualPaymentTypeForPartner(value); + break; + case 7: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasino(value); + break; + case 8: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoLoosing(value); + break; + case 9: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoBacara(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoRoulette(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoDragonTiger(value); + break; + case 12: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateSlot(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateSlotLoosing(value); + break; + case 14: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerballSingle(value); + break; + case 15: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerballCombo(value); + break; + case 16: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerladderSingle(value); + break; + case 17: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerladderCombo(value); + break; + case 18: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateEosSingle(value); + break; + case 19: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateEosCombo(value); + break; + case 20: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateBogglepowerballSingle(value); + break; + case 21: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateBogglepowerballCombo(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getCanExchange(); + if (f) { + writer.writeBool(2, f); + } + f = message.getCanFirstChargeComp(); + if (f) { + writer.writeBool(3, f); + } + f = message.getCanPerChargeComp(); + if (f) { + writer.writeBool(4, f); + } + f = message.getSettlementType(); + if (f !== 0.0) { + writer.writeEnum(5, f); + } + f = message.getManualPaymentTypeForPartner(); + if (f !== 0.0) { + writer.writeEnum(6, f); + } + f = message.getRateCasino(); + if (f !== 0.0) { + writer.writeDouble(7, f); + } + f = message.getRateCasinoLoosing(); + if (f !== 0.0) { + writer.writeDouble(8, f); + } + f = message.getRateCasinoBacara(); + if (f !== 0.0) { + writer.writeDouble(9, f); + } + f = message.getRateCasinoRoulette(); + if (f !== 0.0) { + writer.writeDouble(10, f); + } + f = message.getRateCasinoDragonTiger(); + if (f !== 0.0) { + writer.writeDouble(11, f); + } + f = message.getRateSlot(); + if (f !== 0.0) { + writer.writeDouble(12, f); + } + f = message.getRateSlotLoosing(); + if (f !== 0.0) { + writer.writeDouble(13, f); + } + f = message.getRatePowerballSingle(); + if (f !== 0.0) { + writer.writeDouble(14, f); + } + f = message.getRatePowerballCombo(); + if (f !== 0.0) { + writer.writeDouble(15, f); + } + f = message.getRatePowerladderSingle(); + if (f !== 0.0) { + writer.writeDouble(16, f); + } + f = message.getRatePowerladderCombo(); + if (f !== 0.0) { + writer.writeDouble(17, f); + } + f = message.getRateEosSingle(); + if (f !== 0.0) { + writer.writeDouble(18, f); + } + f = message.getRateEosCombo(); + if (f !== 0.0) { + writer.writeDouble(19, f); + } + f = message.getRateBogglepowerballSingle(); + if (f !== 0.0) { + writer.writeDouble(20, f); + } + f = message.getRateBogglepowerballCombo(); + if (f !== 0.0) { + writer.writeDouble(21, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional bool can_exchange = 2; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getCanExchange = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setCanExchange = + function (value) { + return jspb.Message.setProto3BooleanField(this, 2, value); + }; + +/** + * optional bool can_first_charge_comp = 3; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getCanFirstChargeComp = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setCanFirstChargeComp = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; + +/** + * optional bool can_per_charge_comp = 4; + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getCanPerChargeComp = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setCanPerChargeComp = + function (value) { + return jspb.Message.setProto3BooleanField(this, 4, value); + }; + +/** + * optional bet.beteran.member_settlement_setting.SettlementType settlement_type = 5; + * @return {!proto.bet.beteran.member_settlement_setting.SettlementType} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getSettlementType = + function () { + return /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ ( + jspb.Message.getFieldWithDefault(this, 5, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.SettlementType} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setSettlementType = + function (value) { + return jspb.Message.setProto3EnumField(this, 5, value); + }; + +/** + * optional bet.beteran.member_settlement_setting.ManualPaymentType manual_payment_type_for_partner = 6; + * @return {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getManualPaymentTypeForPartner = + function () { + return /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ ( + jspb.Message.getFieldWithDefault(this, 6, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setManualPaymentTypeForPartner = + function (value) { + return jspb.Message.setProto3EnumField(this, 6, value); + }; + +/** + * optional double rate_casino = 7; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasino = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasino = + function (value) { + return jspb.Message.setProto3FloatField(this, 7, value); + }; + +/** + * optional double rate_casino_loosing = 8; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasinoLoosing = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasinoLoosing = + function (value) { + return jspb.Message.setProto3FloatField(this, 8, value); + }; + +/** + * optional double rate_casino_bacara = 9; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasinoBacara = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasinoBacara = + function (value) { + return jspb.Message.setProto3FloatField(this, 9, value); + }; + +/** + * optional double rate_casino_roulette = 10; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasinoRoulette = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasinoRoulette = + function (value) { + return jspb.Message.setProto3FloatField(this, 10, value); + }; + +/** + * optional double rate_casino_dragon_tiger = 11; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasinoDragonTiger = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasinoDragonTiger = + function (value) { + return jspb.Message.setProto3FloatField(this, 11, value); + }; + +/** + * optional double rate_slot = 12; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateSlot = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateSlot = + function (value) { + return jspb.Message.setProto3FloatField(this, 12, value); + }; + +/** + * optional double rate_slot_loosing = 13; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateSlotLoosing = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateSlotLoosing = + function (value) { + return jspb.Message.setProto3FloatField(this, 13, value); + }; + +/** + * optional double rate_powerball_single = 14; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRatePowerballSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRatePowerballSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 14, value); + }; + +/** + * optional double rate_powerball_combo = 15; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRatePowerballCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRatePowerballCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 15, value); + }; + +/** + * optional double rate_powerladder_single = 16; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRatePowerladderSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRatePowerladderSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 16, value); + }; + +/** + * optional double rate_powerladder_combo = 17; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRatePowerladderCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRatePowerladderCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 17, value); + }; + +/** + * optional double rate_eos_single = 18; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateEosSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateEosSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 18, value); + }; + +/** + * optional double rate_eos_combo = 19; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateEosCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateEosCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 19, value); + }; + +/** + * optional double rate_bogglepowerball_single = 20; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateBogglepowerballSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateBogglepowerballSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 20, value); + }; + +/** + * optional double rate_bogglepowerball_combo = 21; + * @return {number} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateBogglepowerballCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateBogglepowerballCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 21, 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_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.UpdateMemberSettlementSettingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse(); + return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_settlement_setting + .UpdateMemberSettlementSettingResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting + .UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.toObject = + function (includeInstance, msg) { + var f, + obj = { + memberSettlementSetting: + (f = msg.getMemberSettlementSetting()) && + models_member_settlement_setting_pb.MemberSettlementSetting.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result(); + return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting_pb.MemberSettlementSetting(); + reader.readMessage( + value, + models_member_settlement_setting_pb.MemberSettlementSetting + .deserializeBinaryFromReader + ); + msg.setMemberSettlementSetting(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getMemberSettlementSetting(); + if (f != null) { + writer.writeMessage( + 1, + f, + models_member_settlement_setting_pb.MemberSettlementSetting + .serializeBinaryToWriter + ); + } + }; + +/** + * optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1; + * @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.getMemberSettlementSetting = + function () { + return /** @type{?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} */ ( + jspb.Message.getWrapperField( + this, + models_member_settlement_setting_pb.MemberSettlementSetting, + 1 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.setMemberSettlementSetting = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.clearMemberSettlementSetting = + function () { + return this.setMemberSettlementSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.hasMemberSettlementSetting = + 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_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_settlement_setting + .UpdateMemberSettlementSettingResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingRequest.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.DeleteMemberSettlementSettingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.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_settlement_setting.DeleteMemberSettlementSettingRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest(); + return proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.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; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.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_settlement_setting.DeleteMemberSettlementSettingRequest.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.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_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|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_settlement_setting.DeleteMemberSettlementSettingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse(); + return proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingResponse.Result(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member_settlement_setting + .DeleteMemberSettlementSettingResponse.Result + .deserializeBinaryFromReader + ); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting + .DeleteMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingResponse.Result.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingResponse.Result} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result(); + return proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.setError = + function (value) { + return jspb.Message.setWrapperField(this, 1, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.clearError = + function () { + return this.setError(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.hasError = + function () { + return jspb.Message.getField(this, 1) != null; + }; + +/** + * optional Result result = 2; + * @return {?proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.getResult = + function () { + return /** @type{?proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member_settlement_setting + .DeleteMemberSettlementSettingResponse.Result, + 2 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result|undefined} value + * @return {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.setResult = + function (value) { + return jspb.Message.setWrapperField(this, 2, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse} returns this + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.clearResult = + function () { + return this.setResult(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.prototype.hasResult = + function () { + return jspb.Message.getField(this, 2) != null; + }; + +goog.object.extend(exports, proto.bet.beteran.c2se.member_settlement_setting); diff --git a/src/app/modules/proto/models/member_game_setting_pb.d.ts b/src/app/modules/proto/models/member_game_setting_pb.d.ts new file mode 100644 index 0000000..aa646af --- /dev/null +++ b/src/app/modules/proto/models/member_game_setting_pb.d.ts @@ -0,0 +1,71 @@ +// package: bet.beteran.member_game_setting +// file: models/member_game_setting.proto + +import * as jspb from 'google-protobuf'; + +export class MemberGameSetting extends jspb.Message { + getId(): string; + setId(value: string): void; + + getMemberId(): string; + setMemberId(value: string): void; + + getCanBetCasino(): boolean; + setCanBetCasino(value: boolean): void; + + getCanBetSlot(): boolean; + setCanBetSlot(value: boolean): void; + + getCanBetPowerball(): boolean; + setCanBetPowerball(value: boolean): void; + + getCanBetPowerladder(): boolean; + setCanBetPowerladder(value: boolean): void; + + getCanBetEos(): boolean; + setCanBetEos(value: boolean): void; + + getCanBetBogglepowerball(): boolean; + setCanBetBogglepowerball(value: boolean): void; + + getCreatedAt(): number; + setCreatedAt(value: number): void; + + getUpdatedAt(): number; + setUpdatedAt(value: number): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemberGameSetting.AsObject; + static toObject( + includeInstance: boolean, + msg: MemberGameSetting + ): MemberGameSetting.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberGameSetting, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): MemberGameSetting; + static deserializeBinaryFromReader( + message: MemberGameSetting, + reader: jspb.BinaryReader + ): MemberGameSetting; +} + +export namespace MemberGameSetting { + export type AsObject = { + id: string; + memberId: string; + canBetCasino: boolean; + canBetSlot: boolean; + canBetPowerball: boolean; + canBetPowerladder: boolean; + canBetEos: boolean; + canBetBogglepowerball: boolean; + createdAt: number; + updatedAt: number; + }; +} diff --git a/src/app/modules/proto/models/member_game_setting_pb.js b/src/app/modules/proto/models/member_game_setting_pb.js new file mode 100644 index 0000000..eb933b5 --- /dev/null +++ b/src/app/modules/proto/models/member_game_setting_pb.js @@ -0,0 +1,456 @@ +// source: models/member_game_setting.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +goog.exportSymbol( + "proto.bet.beteran.member_game_setting.MemberGameSetting", + null, + global +); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.member_game_setting.MemberGameSetting = function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.member_game_setting.MemberGameSetting, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.member_game_setting.MemberGameSetting.displayName = + "proto.bet.beteran.member_game_setting.MemberGameSetting"; +} + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.member_game_setting.MemberGameSetting.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.member_game_setting.MemberGameSetting} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member_game_setting.MemberGameSetting.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), + canBetCasino: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + canBetSlot: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + canBetPowerball: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + canBetPowerladder: jspb.Message.getBooleanFieldWithDefault( + msg, + 6, + false + ), + canBetEos: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), + canBetBogglepowerball: jspb.Message.getBooleanFieldWithDefault( + msg, + 8, + false + ), + createdAt: jspb.Message.getFieldWithDefault(msg, 9, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 10, 0), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.member_game_setting.MemberGameSetting(); + return proto.bet.beteran.member_game_setting.MemberGameSetting.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.member_game_setting.MemberGameSetting} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberId(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetCasino(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetSlot(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetPowerball(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetPowerladder(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetEos(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetBogglepowerball(value); + break; + case 9: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCreatedAt(value); + break; + case 10: + var value = /** @type {number} */ (reader.readUint64()); + msg.setUpdatedAt(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.member_game_setting.MemberGameSetting.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.member_game_setting.MemberGameSetting} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getMemberId(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getCanBetCasino(); + if (f) { + writer.writeBool(3, f); + } + f = message.getCanBetSlot(); + if (f) { + writer.writeBool(4, f); + } + f = message.getCanBetPowerball(); + if (f) { + writer.writeBool(5, f); + } + f = message.getCanBetPowerladder(); + if (f) { + writer.writeBool(6, f); + } + f = message.getCanBetEos(); + if (f) { + writer.writeBool(7, f); + } + f = message.getCanBetBogglepowerball(); + if (f) { + writer.writeBool(8, f); + } + f = message.getCreatedAt(); + if (f !== 0) { + writer.writeUint64(9, f); + } + f = message.getUpdatedAt(); + if (f !== 0) { + writer.writeUint64(10, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional string member_id = 2; + * @return {string} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setMemberId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; + +/** + * optional bool can_bet_casino = 3; + * @return {boolean} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetCasino = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetCasino = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; + +/** + * optional bool can_bet_slot = 4; + * @return {boolean} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetSlot = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetSlot = + function (value) { + return jspb.Message.setProto3BooleanField(this, 4, value); + }; + +/** + * optional bool can_bet_powerball = 5; + * @return {boolean} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetPowerball = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetPowerball = + function (value) { + return jspb.Message.setProto3BooleanField(this, 5, value); + }; + +/** + * optional bool can_bet_powerladder = 6; + * @return {boolean} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetPowerladder = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 6, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetPowerladder = + function (value) { + return jspb.Message.setProto3BooleanField(this, 6, value); + }; + +/** + * optional bool can_bet_eos = 7; + * @return {boolean} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetEos = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 7, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetEos = + function (value) { + return jspb.Message.setProto3BooleanField(this, 7, value); + }; + +/** + * optional bool can_bet_bogglepowerball = 8; + * @return {boolean} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCanBetBogglepowerball = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 8, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCanBetBogglepowerball = + function (value) { + return jspb.Message.setProto3BooleanField(this, 8, value); + }; + +/** + * optional uint64 created_at = 9; + * @return {number} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getCreatedAt = + function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setCreatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 9, value); + }; + +/** + * optional uint64 updated_at = 10; + * @return {number} + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.getUpdatedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 10, 0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_game_setting.MemberGameSetting} returns this + */ +proto.bet.beteran.member_game_setting.MemberGameSetting.prototype.setUpdatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 10, value); + }; + +goog.object.extend(exports, proto.bet.beteran.member_game_setting); diff --git a/src/app/modules/proto/models/member_pb.d.ts b/src/app/modules/proto/models/member_pb.d.ts index 5917cd4..02acec5 100644 --- a/src/app/modules/proto/models/member_pb.d.ts +++ b/src/app/modules/proto/models/member_pb.d.ts @@ -6,6 +6,8 @@ import * as models_site_pb from '../models/site_pb'; import * as models_member_bank_account_pb from '../models/member_bank_account_pb'; import * as models_member_class_pb from '../models/member_class_pb'; import * as models_member_level_pb from '../models/member_level_pb'; +import * as models_member_game_setting_pb from '../models/member_game_setting_pb'; +import * as models_member_settlement_setting_pb from '../models/member_settlement_setting_pb'; export class Member extends jspb.Message { getId(): string; @@ -162,6 +164,24 @@ export class MemberModel extends jspb.Message { getStateChangedAt(): number; setStateChangedAt(value: number): void; + hasMemberGameSetting(): boolean; + clearMemberGameSetting(): void; + getMemberGameSetting(): + | models_member_game_setting_pb.MemberGameSetting + | undefined; + setMemberGameSetting( + value?: models_member_game_setting_pb.MemberGameSetting + ): void; + + hasMemberSettlementSetting(): boolean; + clearMemberSettlementSetting(): void; + getMemberSettlementSetting(): + | models_member_settlement_setting_pb.MemberSettlementSetting + | undefined; + setMemberSettlementSetting( + value?: models_member_settlement_setting_pb.MemberSettlementSetting + ): void; + hasLastSigninedIp(): boolean; clearLastSigninedIp(): void; getLastSigninedIp(): string; @@ -218,6 +238,8 @@ export namespace MemberModel { mobilePhoneNumber: string; state: MemberStateMap[keyof MemberStateMap]; stateChangedAt: number; + memberGameSetting?: models_member_game_setting_pb.MemberGameSetting.AsObject; + memberSettlementSetting?: models_member_settlement_setting_pb.MemberSettlementSetting.AsObject; lastSigninedIp: string; lastSigninedAt: number; createdAt: number; diff --git a/src/app/modules/proto/models/member_pb.js b/src/app/modules/proto/models/member_pb.js index f449e84..58be159 100644 --- a/src/app/modules/proto/models/member_pb.js +++ b/src/app/modules/proto/models/member_pb.js @@ -25,6 +25,10 @@ var models_member_class_pb = require("../models/member_class_pb.js"); goog.object.extend(proto, models_member_class_pb); var models_member_level_pb = require("../models/member_level_pb.js"); goog.object.extend(proto, models_member_level_pb); +var models_member_game_setting_pb = require("../models/member_game_setting_pb.js"); +goog.object.extend(proto, models_member_game_setting_pb); +var models_member_settlement_setting_pb = require("../models/member_settlement_setting_pb.js"); +goog.object.extend(proto, models_member_settlement_setting_pb); goog.exportSymbol("proto.bet.beteran.member.Member", null, global); goog.exportSymbol("proto.bet.beteran.member.MemberModel", null, global); goog.exportSymbol("proto.bet.beteran.member.MemberState", null, global); @@ -742,11 +746,23 @@ if (jspb.Message.GENERATE_TO_OBJECT) { mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 10, ""), state: jspb.Message.getFieldWithDefault(msg, 11, 0), stateChangedAt: jspb.Message.getFieldWithDefault(msg, 12, 0), - lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 13, ""), - lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 14, 0), - createdAt: jspb.Message.getFieldWithDefault(msg, 15, 0), - updatedAt: jspb.Message.getFieldWithDefault(msg, 16, 0), - deletedAt: jspb.Message.getFieldWithDefault(msg, 17, 0), + memberGameSetting: + (f = msg.getMemberGameSetting()) && + models_member_game_setting_pb.MemberGameSetting.toObject( + includeInstance, + f + ), + memberSettlementSetting: + (f = msg.getMemberSettlementSetting()) && + models_member_settlement_setting_pb.MemberSettlementSetting.toObject( + includeInstance, + f + ), + lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 15, ""), + lastSigninedAt: jspb.Message.getFieldWithDefault(msg, 16, 0), + createdAt: jspb.Message.getFieldWithDefault(msg, 17, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 18, 0), + deletedAt: jspb.Message.getFieldWithDefault(msg, 19, 0), }; if (includeInstance) { @@ -859,22 +875,41 @@ proto.bet.beteran.member.MemberModel.deserializeBinaryFromReader = function ( msg.setStateChangedAt(value); break; case 13: + var value = new models_member_game_setting_pb.MemberGameSetting(); + reader.readMessage( + value, + models_member_game_setting_pb.MemberGameSetting + .deserializeBinaryFromReader + ); + msg.setMemberGameSetting(value); + break; + case 14: + var value = + new models_member_settlement_setting_pb.MemberSettlementSetting(); + reader.readMessage( + value, + models_member_settlement_setting_pb.MemberSettlementSetting + .deserializeBinaryFromReader + ); + msg.setMemberSettlementSetting(value); + break; + case 15: var value = /** @type {string} */ (reader.readString()); msg.setLastSigninedIp(value); break; - case 14: + case 16: var value = /** @type {number} */ (reader.readUint64()); msg.setLastSigninedAt(value); break; - case 15: + case 17: var value = /** @type {number} */ (reader.readUint64()); msg.setCreatedAt(value); break; - case 16: + case 18: var value = /** @type {number} */ (reader.readUint64()); msg.setUpdatedAt(value); break; - case 17: + case 19: var value = /** @type {number} */ (reader.readUint64()); msg.setDeletedAt(value); break; @@ -973,25 +1008,42 @@ proto.bet.beteran.member.MemberModel.serializeBinaryToWriter = function ( if (f != null) { writer.writeUint64(12, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 13)); + f = message.getMemberGameSetting(); if (f != null) { - writer.writeString(13, f); + writer.writeMessage( + 13, + f, + models_member_game_setting_pb.MemberGameSetting.serializeBinaryToWriter + ); } - f = /** @type {number} */ (jspb.Message.getField(message, 14)); + f = message.getMemberSettlementSetting(); if (f != null) { - writer.writeUint64(14, f); + writer.writeMessage( + 14, + f, + models_member_settlement_setting_pb.MemberSettlementSetting + .serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 15)); + if (f != null) { + writer.writeString(15, f); + } + f = /** @type {number} */ (jspb.Message.getField(message, 16)); + if (f != null) { + writer.writeUint64(16, f); } f = message.getCreatedAt(); if (f !== 0) { - writer.writeUint64(15, f); + writer.writeUint64(17, f); } f = message.getUpdatedAt(); if (f !== 0) { - writer.writeUint64(16, f); + writer.writeUint64(18, f); } - f = /** @type {number} */ (jspb.Message.getField(message, 17)); + f = /** @type {number} */ (jspb.Message.getField(message, 19)); if (f != null) { - writer.writeUint64(17, f); + writer.writeUint64(19, f); } }; @@ -1337,11 +1389,96 @@ proto.bet.beteran.member.MemberModel.prototype.hasStateChangedAt = function () { }; /** - * optional string last_signined_ip = 13; + * optional bet.beteran.member_game_setting.MemberGameSetting member_game_setting = 13; + * @return {?proto.bet.beteran.member_game_setting.MemberGameSetting} + */ +proto.bet.beteran.member.MemberModel.prototype.getMemberGameSetting = + function () { + return /** @type{?proto.bet.beteran.member_game_setting.MemberGameSetting} */ ( + jspb.Message.getWrapperField( + this, + models_member_game_setting_pb.MemberGameSetting, + 13 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.member_game_setting.MemberGameSetting|undefined} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setMemberGameSetting = function ( + value +) { + return jspb.Message.setWrapperField(this, 13, value); +}; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.clearMemberGameSetting = + function () { + return this.setMemberGameSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member.MemberModel.prototype.hasMemberGameSetting = + function () { + return jspb.Message.getField(this, 13) != null; + }; + +/** + * optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 14; + * @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} + */ +proto.bet.beteran.member.MemberModel.prototype.getMemberSettlementSetting = + function () { + return /** @type{?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} */ ( + jspb.Message.getWrapperField( + this, + models_member_settlement_setting_pb.MemberSettlementSetting, + 14 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting|undefined} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setMemberSettlementSetting = + function (value) { + return jspb.Message.setWrapperField(this, 14, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.clearMemberSettlementSetting = + function () { + return this.setMemberSettlementSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.member.MemberModel.prototype.hasMemberSettlementSetting = + function () { + return jspb.Message.getField(this, 14) != null; + }; + +/** + * optional string last_signined_ip = 15; * @return {string} */ proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, "")); }; /** @@ -1351,7 +1488,7 @@ proto.bet.beteran.member.MemberModel.prototype.getLastSigninedIp = function () { proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function ( value ) { - return jspb.Message.setField(this, 13, value); + return jspb.Message.setField(this, 15, value); }; /** @@ -1360,7 +1497,7 @@ proto.bet.beteran.member.MemberModel.prototype.setLastSigninedIp = function ( */ proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp = function () { - return jspb.Message.setField(this, 13, undefined); + return jspb.Message.setField(this, 15, undefined); }; /** @@ -1368,15 +1505,15 @@ proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedIp = * @return {boolean} */ proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedIp = function () { - return jspb.Message.getField(this, 13) != null; + return jspb.Message.getField(this, 15) != null; }; /** - * optional uint64 last_signined_at = 14; + * optional uint64 last_signined_at = 16; * @return {number} */ proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); }; /** @@ -1386,7 +1523,7 @@ proto.bet.beteran.member.MemberModel.prototype.getLastSigninedAt = function () { proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function ( value ) { - return jspb.Message.setField(this, 14, value); + return jspb.Message.setField(this, 16, value); }; /** @@ -1395,7 +1532,7 @@ proto.bet.beteran.member.MemberModel.prototype.setLastSigninedAt = function ( */ proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt = function () { - return jspb.Message.setField(this, 14, undefined); + return jspb.Message.setField(this, 16, undefined); }; /** @@ -1403,55 +1540,55 @@ proto.bet.beteran.member.MemberModel.prototype.clearLastSigninedAt = * @return {boolean} */ proto.bet.beteran.member.MemberModel.prototype.hasLastSigninedAt = function () { - return jspb.Message.getField(this, 14) != null; + return jspb.Message.getField(this, 16) != null; }; /** - * optional uint64 created_at = 15; + * optional uint64 created_at = 17; * @return {number} */ proto.bet.beteran.member.MemberModel.prototype.getCreatedAt = function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); -}; - -/** - * @param {number} value - * @return {!proto.bet.beteran.member.MemberModel} returns this - */ -proto.bet.beteran.member.MemberModel.prototype.setCreatedAt = function (value) { - return jspb.Message.setProto3IntField(this, 15, value); -}; - -/** - * optional uint64 updated_at = 16; - * @return {number} - */ -proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); -}; - -/** - * @param {number} value - * @return {!proto.bet.beteran.member.MemberModel} returns this - */ -proto.bet.beteran.member.MemberModel.prototype.setUpdatedAt = function (value) { - return jspb.Message.setProto3IntField(this, 16, value); -}; - -/** - * optional uint64 deleted_at = 17; - * @return {number} - */ -proto.bet.beteran.member.MemberModel.prototype.getDeletedAt = function () { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0)); }; +/** + * @param {number} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setCreatedAt = function (value) { + return jspb.Message.setProto3IntField(this, 17, value); +}; + +/** + * optional uint64 updated_at = 18; + * @return {number} + */ +proto.bet.beteran.member.MemberModel.prototype.getUpdatedAt = function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0)); +}; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member.MemberModel} returns this + */ +proto.bet.beteran.member.MemberModel.prototype.setUpdatedAt = function (value) { + return jspb.Message.setProto3IntField(this, 18, value); +}; + +/** + * optional uint64 deleted_at = 19; + * @return {number} + */ +proto.bet.beteran.member.MemberModel.prototype.getDeletedAt = function () { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0)); +}; + /** * @param {number} value * @return {!proto.bet.beteran.member.MemberModel} returns this */ proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) { - return jspb.Message.setField(this, 17, value); + return jspb.Message.setField(this, 19, value); }; /** @@ -1459,7 +1596,7 @@ proto.bet.beteran.member.MemberModel.prototype.setDeletedAt = function (value) { * @return {!proto.bet.beteran.member.MemberModel} returns this */ proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () { - return jspb.Message.setField(this, 17, undefined); + return jspb.Message.setField(this, 19, undefined); }; /** @@ -1467,7 +1604,7 @@ proto.bet.beteran.member.MemberModel.prototype.clearDeletedAt = function () { * @return {boolean} */ proto.bet.beteran.member.MemberModel.prototype.hasDeletedAt = function () { - return jspb.Message.getField(this, 17) != null; + return jspb.Message.getField(this, 19) != null; }; /** diff --git a/src/app/modules/proto/models/member_settlement_setting_pb.d.ts b/src/app/modules/proto/models/member_settlement_setting_pb.d.ts new file mode 100644 index 0000000..6f904b7 --- /dev/null +++ b/src/app/modules/proto/models/member_settlement_setting_pb.d.ts @@ -0,0 +1,146 @@ +// package: bet.beteran.member_settlement_setting +// file: models/member_settlement_setting.proto + +import * as jspb from 'google-protobuf'; + +export class MemberSettlementSetting extends jspb.Message { + getId(): string; + setId(value: string): void; + + getMemberId(): string; + setMemberId(value: string): void; + + getCanExchange(): boolean; + setCanExchange(value: boolean): void; + + getCanFirstChargeComp(): boolean; + setCanFirstChargeComp(value: boolean): void; + + getCanPerChargeComp(): boolean; + setCanPerChargeComp(value: boolean): void; + + getSettlementType(): SettlementTypeMap[keyof SettlementTypeMap]; + setSettlementType(value: SettlementTypeMap[keyof SettlementTypeMap]): void; + + getManualPaymentTypeForPartner(): ManualPaymentTypeMap[keyof ManualPaymentTypeMap]; + setManualPaymentTypeForPartner( + value: ManualPaymentTypeMap[keyof ManualPaymentTypeMap] + ): void; + + getRateCasino(): number; + setRateCasino(value: number): void; + + getRateCasinoLoosing(): number; + setRateCasinoLoosing(value: number): void; + + getRateCasinoBacara(): number; + setRateCasinoBacara(value: number): void; + + getRateCasinoRoulette(): number; + setRateCasinoRoulette(value: number): void; + + getRateCasinoDragonTiger(): number; + setRateCasinoDragonTiger(value: number): void; + + getRateSlot(): number; + setRateSlot(value: number): void; + + getRateSlotLoosing(): number; + setRateSlotLoosing(value: number): void; + + getRatePowerballSingle(): number; + setRatePowerballSingle(value: number): void; + + getRatePowerballCombo(): number; + setRatePowerballCombo(value: number): void; + + getRatePowerladderSingle(): number; + setRatePowerladderSingle(value: number): void; + + getRatePowerladderCombo(): number; + setRatePowerladderCombo(value: number): void; + + getRateEosSingle(): number; + setRateEosSingle(value: number): void; + + getRateEosCombo(): number; + setRateEosCombo(value: number): void; + + getRateBogglepowerballSingle(): number; + setRateBogglepowerballSingle(value: number): void; + + getRateBogglepowerballCombo(): number; + setRateBogglepowerballCombo(value: number): void; + + getCreatedAt(): number; + setCreatedAt(value: number): void; + + getUpdatedAt(): number; + setUpdatedAt(value: number): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemberSettlementSetting.AsObject; + static toObject( + includeInstance: boolean, + msg: MemberSettlementSetting + ): MemberSettlementSetting.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: MemberSettlementSetting, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): MemberSettlementSetting; + static deserializeBinaryFromReader( + message: MemberSettlementSetting, + reader: jspb.BinaryReader + ): MemberSettlementSetting; +} + +export namespace MemberSettlementSetting { + export type AsObject = { + id: string; + memberId: string; + canExchange: boolean; + canFirstChargeComp: boolean; + canPerChargeComp: boolean; + settlementType: SettlementTypeMap[keyof SettlementTypeMap]; + manualPaymentTypeForPartner: ManualPaymentTypeMap[keyof ManualPaymentTypeMap]; + rateCasino: number; + rateCasinoLoosing: number; + rateCasinoBacara: number; + rateCasinoRoulette: number; + rateCasinoDragonTiger: number; + rateSlot: number; + rateSlotLoosing: number; + ratePowerballSingle: number; + ratePowerballCombo: number; + ratePowerladderSingle: number; + ratePowerladderCombo: number; + rateEosSingle: number; + rateEosCombo: number; + rateBogglepowerballSingle: number; + rateBogglepowerballCombo: number; + createdAt: number; + updatedAt: number; + }; +} + +export interface SettlementTypeMap { + ST_NONE: 0; + ROLLING: 1; + LOOSING: 2; +} + +export const SettlementType: SettlementTypeMap; + +export interface ManualPaymentTypeMap { + MPT_NONE: 0; + DISABLE: 1; + ALL_CHILD_PARTNER: 2; + ONLY_DIRECT_PARTNER: 3; +} + +export const ManualPaymentType: ManualPaymentTypeMap; diff --git a/src/app/modules/proto/models/member_settlement_setting_pb.js b/src/app/modules/proto/models/member_settlement_setting_pb.js new file mode 100644 index 0000000..991e3e4 --- /dev/null +++ b/src/app/modules/proto/models/member_settlement_setting_pb.js @@ -0,0 +1,954 @@ +// source: models/member_settlement_setting.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require("google-protobuf"); +var goog = jspb; +var global = function () { + return this || window || global || self || Function("return this")(); +}.call(null); + +goog.exportSymbol( + "proto.bet.beteran.member_settlement_setting.ManualPaymentType", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.member_settlement_setting.MemberSettlementSetting", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.member_settlement_setting.SettlementType", + null, + global +); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.member_settlement_setting.MemberSettlementSetting, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.displayName = + "proto.bet.beteran.member_settlement_setting.MemberSettlementSetting"; +} + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberId: jspb.Message.getFieldWithDefault(msg, 2, ""), + canExchange: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + canFirstChargeComp: jspb.Message.getBooleanFieldWithDefault( + msg, + 4, + false + ), + canPerChargeComp: jspb.Message.getBooleanFieldWithDefault( + msg, + 5, + false + ), + settlementType: jspb.Message.getFieldWithDefault(msg, 6, 0), + manualPaymentTypeForPartner: jspb.Message.getFieldWithDefault( + msg, + 7, + 0 + ), + rateCasino: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 8, + 0.0 + ), + rateCasinoLoosing: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 9, + 0.0 + ), + rateCasinoBacara: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 10, + 0.0 + ), + rateCasinoRoulette: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 11, + 0.0 + ), + rateCasinoDragonTiger: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 12, + 0.0 + ), + rateSlot: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0), + rateSlotLoosing: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 14, + 0.0 + ), + ratePowerballSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 15, + 0.0 + ), + ratePowerballCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 16, + 0.0 + ), + ratePowerladderSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 17, + 0.0 + ), + ratePowerladderCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 18, + 0.0 + ), + rateEosSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 19, + 0.0 + ), + rateEosCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 20, + 0.0 + ), + rateBogglepowerballSingle: + jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0), + rateBogglepowerballCombo: + jspb.Message.getFloatingPointFieldWithDefault(msg, 22, 0.0), + createdAt: jspb.Message.getFieldWithDefault(msg, 23, 0), + updatedAt: jspb.Message.getFieldWithDefault(msg, 24, 0), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.member_settlement_setting.MemberSettlementSetting(); + return proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberId(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanExchange(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanFirstChargeComp(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanPerChargeComp(value); + break; + case 6: + var value = + /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ ( + reader.readEnum() + ); + msg.setSettlementType(value); + break; + case 7: + var value = + /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ ( + reader.readEnum() + ); + msg.setManualPaymentTypeForPartner(value); + break; + case 8: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasino(value); + break; + case 9: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoLoosing(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoBacara(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoRoulette(value); + break; + case 12: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoDragonTiger(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateSlot(value); + break; + case 14: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateSlotLoosing(value); + break; + case 15: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerballSingle(value); + break; + case 16: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerballCombo(value); + break; + case 17: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerladderSingle(value); + break; + case 18: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerladderCombo(value); + break; + case 19: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateEosSingle(value); + break; + case 20: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateEosCombo(value); + break; + case 21: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateBogglepowerballSingle(value); + break; + case 22: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateBogglepowerballCombo(value); + break; + case 23: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCreatedAt(value); + break; + case 24: + var value = /** @type {number} */ (reader.readUint64()); + msg.setUpdatedAt(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getMemberId(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getCanExchange(); + if (f) { + writer.writeBool(3, f); + } + f = message.getCanFirstChargeComp(); + if (f) { + writer.writeBool(4, f); + } + f = message.getCanPerChargeComp(); + if (f) { + writer.writeBool(5, f); + } + f = message.getSettlementType(); + if (f !== 0.0) { + writer.writeEnum(6, f); + } + f = message.getManualPaymentTypeForPartner(); + if (f !== 0.0) { + writer.writeEnum(7, f); + } + f = message.getRateCasino(); + if (f !== 0.0) { + writer.writeDouble(8, f); + } + f = message.getRateCasinoLoosing(); + if (f !== 0.0) { + writer.writeDouble(9, f); + } + f = message.getRateCasinoBacara(); + if (f !== 0.0) { + writer.writeDouble(10, f); + } + f = message.getRateCasinoRoulette(); + if (f !== 0.0) { + writer.writeDouble(11, f); + } + f = message.getRateCasinoDragonTiger(); + if (f !== 0.0) { + writer.writeDouble(12, f); + } + f = message.getRateSlot(); + if (f !== 0.0) { + writer.writeDouble(13, f); + } + f = message.getRateSlotLoosing(); + if (f !== 0.0) { + writer.writeDouble(14, f); + } + f = message.getRatePowerballSingle(); + if (f !== 0.0) { + writer.writeDouble(15, f); + } + f = message.getRatePowerballCombo(); + if (f !== 0.0) { + writer.writeDouble(16, f); + } + f = message.getRatePowerladderSingle(); + if (f !== 0.0) { + writer.writeDouble(17, f); + } + f = message.getRatePowerladderCombo(); + if (f !== 0.0) { + writer.writeDouble(18, f); + } + f = message.getRateEosSingle(); + if (f !== 0.0) { + writer.writeDouble(19, f); + } + f = message.getRateEosCombo(); + if (f !== 0.0) { + writer.writeDouble(20, f); + } + f = message.getRateBogglepowerballSingle(); + if (f !== 0.0) { + writer.writeDouble(21, f); + } + f = message.getRateBogglepowerballCombo(); + if (f !== 0.0) { + writer.writeDouble(22, f); + } + f = message.getCreatedAt(); + if (f !== 0) { + writer.writeUint64(23, f); + } + f = message.getUpdatedAt(); + if (f !== 0) { + writer.writeUint64(24, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional string member_id = 2; + * @return {string} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setMemberId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; + +/** + * optional bool can_exchange = 3; + * @return {boolean} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getCanExchange = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setCanExchange = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; + +/** + * optional bool can_first_charge_comp = 4; + * @return {boolean} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getCanFirstChargeComp = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setCanFirstChargeComp = + function (value) { + return jspb.Message.setProto3BooleanField(this, 4, value); + }; + +/** + * optional bool can_per_charge_comp = 5; + * @return {boolean} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getCanPerChargeComp = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setCanPerChargeComp = + function (value) { + return jspb.Message.setProto3BooleanField(this, 5, value); + }; + +/** + * optional SettlementType settlement_type = 6; + * @return {!proto.bet.beteran.member_settlement_setting.SettlementType} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getSettlementType = + function () { + return /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ ( + jspb.Message.getFieldWithDefault(this, 6, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.SettlementType} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setSettlementType = + function (value) { + return jspb.Message.setProto3EnumField(this, 6, value); + }; + +/** + * optional ManualPaymentType manual_payment_type_for_partner = 7; + * @return {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getManualPaymentTypeForPartner = + function () { + return /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ ( + jspb.Message.getFieldWithDefault(this, 7, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setManualPaymentTypeForPartner = + function (value) { + return jspb.Message.setProto3EnumField(this, 7, value); + }; + +/** + * optional double rate_casino = 8; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasino = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasino = + function (value) { + return jspb.Message.setProto3FloatField(this, 8, value); + }; + +/** + * optional double rate_casino_loosing = 9; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasinoLoosing = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasinoLoosing = + function (value) { + return jspb.Message.setProto3FloatField(this, 9, value); + }; + +/** + * optional double rate_casino_bacara = 10; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasinoBacara = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasinoBacara = + function (value) { + return jspb.Message.setProto3FloatField(this, 10, value); + }; + +/** + * optional double rate_casino_roulette = 11; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasinoRoulette = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasinoRoulette = + function (value) { + return jspb.Message.setProto3FloatField(this, 11, value); + }; + +/** + * optional double rate_casino_dragon_tiger = 12; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateCasinoDragonTiger = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateCasinoDragonTiger = + function (value) { + return jspb.Message.setProto3FloatField(this, 12, value); + }; + +/** + * optional double rate_slot = 13; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateSlot = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateSlot = + function (value) { + return jspb.Message.setProto3FloatField(this, 13, value); + }; + +/** + * optional double rate_slot_loosing = 14; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateSlotLoosing = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateSlotLoosing = + function (value) { + return jspb.Message.setProto3FloatField(this, 14, value); + }; + +/** + * optional double rate_powerball_single = 15; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRatePowerballSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRatePowerballSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 15, value); + }; + +/** + * optional double rate_powerball_combo = 16; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRatePowerballCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRatePowerballCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 16, value); + }; + +/** + * optional double rate_powerladder_single = 17; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRatePowerladderSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRatePowerladderSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 17, value); + }; + +/** + * optional double rate_powerladder_combo = 18; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRatePowerladderCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRatePowerladderCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 18, value); + }; + +/** + * optional double rate_eos_single = 19; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateEosSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateEosSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 19, value); + }; + +/** + * optional double rate_eos_combo = 20; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateEosCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateEosCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 20, value); + }; + +/** + * optional double rate_bogglepowerball_single = 21; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateBogglepowerballSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateBogglepowerballSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 21, value); + }; + +/** + * optional double rate_bogglepowerball_combo = 22; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getRateBogglepowerballCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 22, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setRateBogglepowerballCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 22, value); + }; + +/** + * optional uint64 created_at = 23; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getCreatedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 23, 0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setCreatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 23, value); + }; + +/** + * optional uint64 updated_at = 24; + * @return {number} + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.getUpdatedAt = + function () { + return /** @type {number} */ ( + jspb.Message.getFieldWithDefault(this, 24, 0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} returns this + */ +proto.bet.beteran.member_settlement_setting.MemberSettlementSetting.prototype.setUpdatedAt = + function (value) { + return jspb.Message.setProto3IntField(this, 24, value); + }; + +/** + * @enum {number} + */ +proto.bet.beteran.member_settlement_setting.SettlementType = { + ST_NONE: 0, + ROLLING: 1, + LOOSING: 2, +}; + +/** + * @enum {number} + */ +proto.bet.beteran.member_settlement_setting.ManualPaymentType = { + MPT_NONE: 0, + DISABLE: 1, + ALL_CHILD_PARTNER: 2, + ONLY_DIRECT_PARTNER: 3, +}; + +goog.object.extend(exports, proto.bet.beteran.member_settlement_setting);