// source: c2se/member_level.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_level_pb = require('../models/member_level_pb.js');
goog.object.extend(proto, models_member_level_pb);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.GetMemberLevelRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.GetMemberLevelResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result', null, global);
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.displayName = 'proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.displayName = 'proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.repeatedFields_, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.displayName = 'proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.displayName = 'proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.displayName = 'proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.repeatedFields_, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.GetMemberLevelRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.displayName = 'proto.bet.beteran.c2se.member_level.GetMemberLevelRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.GetMemberLevelResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.displayName = 'proto.bet.beteran.c2se.member_level.GetMemberLevelResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.displayName = 'proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.displayName = 'proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.displayName = 'proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.displayName = 'proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse';
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.displayName = 'proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result';
}



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.CreateMemberLevelRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    name: jspb.Message.getFieldWithDefault(msg, 1, ""),
    show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
    sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest;
  return proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setShow(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setSortOrder(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getShow();
  if (f) {
    writer.writeBool(
      2,
      f
    );
  }
  f = message.getSortOrder();
  if (f !== 0) {
    writer.writeUint32(
      3,
      f
    );
  }
};


/**
 * optional string name = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional bool show = 2;
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getShow = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setShow = function(value) {
  return jspb.Message.setProto3BooleanField(this, 2, value);
};


/**
 * optional uint32 sort_order = 3;
 * @return {number}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.getSortOrder = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelRequest.prototype.setSortOrder = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.CreateMemberLevelResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f),
    result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse;
  return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new protobuf_rpc_pb.Error;
      reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 2:
      var value = new proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result;
      reader.readMessage(value,proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      protobuf_rpc_pb.Error.serializeBinaryToWriter
    );
  }
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.CreateMemberLevelResponse.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.toObject = function(includeInstance, msg) {
  var f, obj = {
    memberLevel: (f = msg.getMemberLevel()) && models_member_level_pb.MemberLevel.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result;
  return proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new models_member_level_pb.MemberLevel;
      reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader);
      msg.setMemberLevel(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getMemberLevel();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      models_member_level_pb.MemberLevel.serializeBinaryToWriter
    );
  }
};


/**
 * optional bet.beteran.member_level.MemberLevel member_level = 1;
 * @return {?proto.bet.beteran.member_level.MemberLevel}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.getMemberLevel = function() {
  return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ (
    jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1));
};


/**
 * @param {?proto.bet.beteran.member_level.MemberLevel|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.setMemberLevel = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.clearMemberLevel = function() {
  return this.setMemberLevel(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result.prototype.hasMemberLevel = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bet.protobuf.rpc.Error error = 1;
 * @return {?proto.bet.protobuf.rpc.Error}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.getError = function() {
  return /** @type{?proto.bet.protobuf.rpc.Error} */ (
    jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1));
};


/**
 * @param {?proto.bet.protobuf.rpc.Error|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} returns this
*/
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} returns this
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.getResult = function() {
  return /** @type{?proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result} */ (
    jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result, 2));
};


/**
 * @param {?proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} returns this
*/
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse} returns this
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.CreateMemberLevelResponse.prototype.hasResult = function() {
  return jspb.Message.getField(this, 2) != null;
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.repeatedFields_ = [2];



if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.ListMemberLevelsRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    pagination: (f = msg.getPagination()) && protobuf_pagination_pb.Pagination.toObject(includeInstance, f),
    sortsList: jspb.Message.toObjectList(msg.getSortsList(),
    protobuf_pagination_pb.Sort.toObject, includeInstance),
    search: (f = msg.getSearch()) && proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest;
  return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new protobuf_pagination_pb.Pagination;
      reader.readMessage(value,protobuf_pagination_pb.Pagination.deserializeBinaryFromReader);
      msg.setPagination(value);
      break;
    case 2:
      var value = new protobuf_pagination_pb.Sort;
      reader.readMessage(value,protobuf_pagination_pb.Sort.deserializeBinaryFromReader);
      msg.addSorts(value);
      break;
    case 3:
      var value = new proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search;
      reader.readMessage(value,proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinaryFromReader);
      msg.setSearch(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getPagination();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      protobuf_pagination_pb.Pagination.serializeBinaryToWriter
    );
  }
  f = message.getSortsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      protobuf_pagination_pb.Sort.serializeBinaryToWriter
    );
  }
  f = message.getSearch();
  if (f != null) {
    writer.writeMessage(
      3,
      f,
      proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.ListMemberLevelsRequest.Search.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.toObject = function(includeInstance, msg) {
  var f, obj = {
    nameLike: jspb.Message.getFieldWithDefault(msg, 1, ""),
    show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search;
  return proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setNameLike(value);
      break;
    case 2:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setShow(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = /** @type {string} */ (jspb.Message.getField(message, 1));
  if (f != null) {
    writer.writeString(
      1,
      f
    );
  }
  f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
  if (f != null) {
    writer.writeBool(
      2,
      f
    );
  }
};


/**
 * optional string name_like = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.getNameLike = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.setNameLike = function(value) {
  return jspb.Message.setField(this, 1, value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.clearNameLike = function() {
  return jspb.Message.setField(this, 1, undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.hasNameLike = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bool show = 2;
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.getShow = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};


/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.setShow = function(value) {
  return jspb.Message.setField(this, 2, value);
};


/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.clearShow = function() {
  return jspb.Message.setField(this, 2, undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search.prototype.hasShow = function() {
  return jspb.Message.getField(this, 2) != null;
};


/**
 * optional bet.protobuf.pagination.Pagination pagination = 1;
 * @return {?proto.bet.protobuf.pagination.Pagination}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.getPagination = function() {
  return /** @type{?proto.bet.protobuf.pagination.Pagination} */ (
    jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1));
};


/**
 * @param {?proto.bet.protobuf.pagination.Pagination|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this
*/
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.setPagination = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearPagination = function() {
  return this.setPagination(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.hasPagination = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * repeated bet.protobuf.pagination.Sort sorts = 2;
 * @return {!Array<!proto.bet.protobuf.pagination.Sort>}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.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_level.ListMemberLevelsRequest} returns this
*/
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.setSortsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.bet.protobuf.pagination.Sort=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bet.protobuf.pagination.Sort}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.addSorts = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bet.protobuf.pagination.Sort, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearSortsList = function() {
  return this.setSortsList([]);
};


/**
 * optional Search search = 3;
 * @return {?proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.getSearch = function() {
  return /** @type{?proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search} */ (
    jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search, 3));
};


/**
 * @param {?proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.Search|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this
*/
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.setSearch = function(value) {
  return jspb.Message.setWrapperField(this, 3, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.clearSearch = function() {
  return this.setSearch(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsRequest.prototype.hasSearch = function() {
  return jspb.Message.getField(this, 3) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.ListMemberLevelsResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f),
    result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse;
  return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new protobuf_rpc_pb.Error;
      reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 2:
      var value = new proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result;
      reader.readMessage(value,proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      protobuf_rpc_pb.Error.serializeBinaryToWriter
    );
  }
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.serializeBinaryToWriter
    );
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.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_level.ListMemberLevelsResponse.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.toObject = function(includeInstance, msg) {
  var f, obj = {
    memberLevelsList: jspb.Message.toObjectList(msg.getMemberLevelsList(),
    models_member_level_pb.MemberLevel.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_level.ListMemberLevelsResponse.Result}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result;
  return proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new models_member_level_pb.MemberLevel;
      reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader);
      msg.addMemberLevels(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getMemberLevelsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      1,
      f,
      models_member_level_pb.MemberLevel.serializeBinaryToWriter
    );
  }
};


/**
 * repeated bet.beteran.member_level.MemberLevel member_levels = 1;
 * @return {!Array<!proto.bet.beteran.member_level.MemberLevel>}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.getMemberLevelsList = function() {
  return /** @type{!Array<!proto.bet.beteran.member_level.MemberLevel>} */ (
    jspb.Message.getRepeatedWrapperField(this, models_member_level_pb.MemberLevel, 1));
};


/**
 * @param {!Array<!proto.bet.beteran.member_level.MemberLevel>} value
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.setMemberLevelsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.bet.beteran.member_level.MemberLevel=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.member_level.MemberLevel}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.addMemberLevels = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.member_level.MemberLevel, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result.prototype.clearMemberLevelsList = function() {
  return this.setMemberLevelsList([]);
};


/**
 * optional bet.protobuf.rpc.Error error = 1;
 * @return {?proto.bet.protobuf.rpc.Error}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.getError = function() {
  return /** @type{?proto.bet.protobuf.rpc.Error} */ (
    jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1));
};


/**
 * @param {?proto.bet.protobuf.rpc.Error|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} returns this
*/
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.getResult = function() {
  return /** @type{?proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result} */ (
    jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result, 2));
};


/**
 * @param {?proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} returns this
*/
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse} returns this
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.ListMemberLevelsResponse.prototype.hasResult = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.GetMemberLevelRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelRequest}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.GetMemberLevelRequest;
  return proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelRequest}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    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_level.GetMemberLevelRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelRequest.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.GetMemberLevelResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f),
    result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.GetMemberLevelResponse;
  return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new protobuf_rpc_pb.Error;
      reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 2:
      var value = new proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result;
      reader.readMessage(value,proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      protobuf_rpc_pb.Error.serializeBinaryToWriter
    );
  }
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.GetMemberLevelResponse.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.toObject = function(includeInstance, msg) {
  var f, obj = {
    memberLevel: (f = msg.getMemberLevel()) && models_member_level_pb.MemberLevel.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result;
  return proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new models_member_level_pb.MemberLevel;
      reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader);
      msg.setMemberLevel(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getMemberLevel();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      models_member_level_pb.MemberLevel.serializeBinaryToWriter
    );
  }
};


/**
 * optional bet.beteran.member_level.MemberLevel member_level = 1;
 * @return {?proto.bet.beteran.member_level.MemberLevel}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.getMemberLevel = function() {
  return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ (
    jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1));
};


/**
 * @param {?proto.bet.beteran.member_level.MemberLevel|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.setMemberLevel = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.clearMemberLevel = function() {
  return this.setMemberLevel(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result.prototype.hasMemberLevel = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bet.protobuf.rpc.Error error = 1;
 * @return {?proto.bet.protobuf.rpc.Error}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.getError = function() {
  return /** @type{?proto.bet.protobuf.rpc.Error} */ (
    jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1));
};


/**
 * @param {?proto.bet.protobuf.rpc.Error|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} returns this
*/
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} returns this
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.getResult = function() {
  return /** @type{?proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result} */ (
    jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result, 2));
};


/**
 * @param {?proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} returns this
*/
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.GetMemberLevelResponse} returns this
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.GetMemberLevelResponse.prototype.hasResult = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.UpdateMemberLevelRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, ""),
    name: jspb.Message.getFieldWithDefault(msg, 2, ""),
    show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
    sortOrder: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest;
  return proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setId(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setName(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setShow(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setSortOrder(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getName();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getShow();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
  f = message.getSortOrder();
  if (f !== 0) {
    writer.writeUint32(
      4,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string name = 2;
 * @return {string}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getName = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setName = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional bool show = 3;
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getShow = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setShow = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};


/**
 * optional uint32 sort_order = 4;
 * @return {number}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.getSortOrder = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelRequest.prototype.setSortOrder = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.UpdateMemberLevelResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f),
    result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse;
  return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new protobuf_rpc_pb.Error;
      reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 2:
      var value = new proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result;
      reader.readMessage(value,proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      protobuf_rpc_pb.Error.serializeBinaryToWriter
    );
  }
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.UpdateMemberLevelResponse.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.toObject = function(includeInstance, msg) {
  var f, obj = {
    memberLevel: (f = msg.getMemberLevel()) && models_member_level_pb.MemberLevel.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result;
  return proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new models_member_level_pb.MemberLevel;
      reader.readMessage(value,models_member_level_pb.MemberLevel.deserializeBinaryFromReader);
      msg.setMemberLevel(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getMemberLevel();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      models_member_level_pb.MemberLevel.serializeBinaryToWriter
    );
  }
};


/**
 * optional bet.beteran.member_level.MemberLevel member_level = 1;
 * @return {?proto.bet.beteran.member_level.MemberLevel}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.getMemberLevel = function() {
  return /** @type{?proto.bet.beteran.member_level.MemberLevel} */ (
    jspb.Message.getWrapperField(this, models_member_level_pb.MemberLevel, 1));
};


/**
 * @param {?proto.bet.beteran.member_level.MemberLevel|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.setMemberLevel = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.clearMemberLevel = function() {
  return this.setMemberLevel(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result.prototype.hasMemberLevel = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional bet.protobuf.rpc.Error error = 1;
 * @return {?proto.bet.protobuf.rpc.Error}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.getError = function() {
  return /** @type{?proto.bet.protobuf.rpc.Error} */ (
    jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1));
};


/**
 * @param {?proto.bet.protobuf.rpc.Error|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} returns this
*/
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} returns this
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.getResult = function() {
  return /** @type{?proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result} */ (
    jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result, 2));
};


/**
 * @param {?proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} returns this
*/
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse} returns this
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.UpdateMemberLevelResponse.prototype.hasResult = function() {
  return jspb.Message.getField(this, 2) != null;
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.DeleteMemberLevelRequest.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.toObject = function(includeInstance, msg) {
  var f, obj = {
    id: jspb.Message.getFieldWithDefault(msg, 1, "")
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest;
  return proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    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_level.DeleteMemberLevelRequest.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getId();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
};


/**
 * optional string id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.prototype.getId = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest} returns this
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelRequest.prototype.setId = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.DeleteMemberLevelResponse.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.toObject = function(includeInstance, msg) {
  var f, obj = {
    error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f),
    result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.toObject(includeInstance, f)
  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse;
  return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = new protobuf_rpc_pb.Error;
      reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader);
      msg.setError(value);
      break;
    case 2:
      var value = new proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result;
      reader.readMessage(value,proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinaryFromReader);
      msg.setResult(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      protobuf_rpc_pb.Error.serializeBinaryToWriter
    );
  }
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.serializeBinaryToWriter
    );
  }
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<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_level.DeleteMemberLevelResponse.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.toObject(opt_includeInstance, this);
};


/**
 * Static version of the {@see toObject} method.
 * @param {boolean|undefined} includeInstance Deprecated. Whether to include
 *     the JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.toObject = function(includeInstance, msg) {
  var f, obj = {

  };

  if (includeInstance) {
    obj.$jspbMessageInstance = msg;
  }
  return obj;
};
}


/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result;
  return proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    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_level.DeleteMemberLevelResponse.Result.prototype.serializeBinary = function() {
  var writer = new jspb.BinaryWriter();
  proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.serializeBinaryToWriter(this, writer);
  return writer.getResultBuffer();
};


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
};


/**
 * optional bet.protobuf.rpc.Error error = 1;
 * @return {?proto.bet.protobuf.rpc.Error}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.getError = function() {
  return /** @type{?proto.bet.protobuf.rpc.Error} */ (
    jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1));
};


/**
 * @param {?proto.bet.protobuf.rpc.Error|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} returns this
*/
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.setError = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} returns this
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.clearError = function() {
  return this.setError(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.hasError = function() {
  return jspb.Message.getField(this, 1) != null;
};


/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.getResult = function() {
  return /** @type{?proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result} */ (
    jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result, 2));
};


/**
 * @param {?proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} returns this
*/
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.setResult = function(value) {
  return jspb.Message.setWrapperField(this, 2, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse} returns this
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.clearResult = function() {
  return this.setResult(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_level.DeleteMemberLevelResponse.prototype.hasResult = function() {
  return jspb.Message.getField(this, 2) != null;
};


goog.object.extend(exports, proto.bet.beteran.c2se.member_level);
