3703 lines
127 KiB
JavaScript
3703 lines
127 KiB
JavaScript
// 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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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<number>}
|
|
* @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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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.protobuf.pagination.Sort>}
|
|
*/
|
|
proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsRequest.prototype.getSortsList =
|
|
function () {
|
|
return /** @type{!Array<!proto.bet.protobuf.pagination.Sort>} */ (
|
|
jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)
|
|
);
|
|
};
|
|
|
|
/**
|
|
* @param {!Array<!proto.bet.protobuf.pagination.Sort>} 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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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<number>}
|
|
* @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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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.member_game_setting.MemberGameSetting>}
|
|
*/
|
|
proto.bet.beteran.c2se.member_game_setting.ListMemberGameSettingsResponse.Result.prototype.getMemberGameSettingsList =
|
|
function () {
|
|
return /** @type{!Array<!proto.bet.beteran.member_game_setting.MemberGameSetting>} */ (
|
|
jspb.Message.getRepeatedWrapperField(
|
|
this,
|
|
models_member_game_setting_pb.MemberGameSetting,
|
|
1
|
|
)
|
|
);
|
|
};
|
|
|
|
/**
|
|
* @param {!Array<!proto.bet.beteran.member_game_setting.MemberGameSetting>} 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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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_<name>, eg, foo.pb_default.
|
|
* For the list of reserved names please see:
|
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
* @param {boolean=} opt_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);
|