// source: c2se/member.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_pb = require("../models/member_pb.js");
goog.object.extend(proto, models_member_pb);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.CreateMemberRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.CreateMemberResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.CreateMemberResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.DeleteMemberRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.DeleteMemberResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.DeleteMemberResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.GetMemberByUsernameRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.GetMemberByUsernameResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.GetMemberRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.GetMemberResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.GetMemberResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.ListMembersRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.ListMembersRequest.Search",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.ListMembersResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.ListMembersResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.UpdateMemberForStateRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.UpdateMemberForStateResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.UpdateMemberRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.UpdateMemberResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member.UpdateMemberResponse.Result",
  null,
  global
);
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * 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.CreateMemberRequest = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.CreateMemberRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.CreateMemberRequest.displayName =
    "proto.bet.beteran.c2se.member.CreateMemberRequest";
}
/**
 * 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.CreateMemberRequest.BankAccount = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.displayName =
    "proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member.CreateMemberResponse = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.CreateMemberResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.CreateMemberResponse.displayName =
    "proto.bet.beteran.c2se.member.CreateMemberResponse";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member.CreateMemberResponse.Result = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.CreateMemberResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.CreateMemberResponse.Result.displayName =
    "proto.bet.beteran.c2se.member.CreateMemberResponse.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.ListMembersRequest = function (opt_data) {
  jspb.Message.initialize(
    this,
    opt_data,
    0,
    -1,
    proto.bet.beteran.c2se.member.ListMembersRequest.repeatedFields_,
    null
  );
};
goog.inherits(proto.bet.beteran.c2se.member.ListMembersRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.ListMembersRequest.displayName =
    "proto.bet.beteran.c2se.member.ListMembersRequest";
}
/**
 * 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.ListMembersRequest.Search = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.ListMembersRequest.Search,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.ListMembersRequest.Search.displayName =
    "proto.bet.beteran.c2se.member.ListMembersRequest.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.ListMembersResponse = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.ListMembersResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.ListMembersResponse.displayName =
    "proto.bet.beteran.c2se.member.ListMembersResponse";
}
/**
 * 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.ListMembersResponse.Result = function (opt_data) {
  jspb.Message.initialize(
    this,
    opt_data,
    0,
    -1,
    proto.bet.beteran.c2se.member.ListMembersResponse.Result.repeatedFields_,
    null
  );
};
goog.inherits(
  proto.bet.beteran.c2se.member.ListMembersResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.ListMembersResponse.Result.displayName =
    "proto.bet.beteran.c2se.member.ListMembersResponse.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.GetMemberRequest = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.GetMemberRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.GetMemberRequest.displayName =
    "proto.bet.beteran.c2se.member.GetMemberRequest";
}
/**
 * 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.GetMemberResponse = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.GetMemberResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.GetMemberResponse.displayName =
    "proto.bet.beteran.c2se.member.GetMemberResponse";
}
/**
 * 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.GetMemberResponse.Result = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.GetMemberResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.GetMemberResponse.Result.displayName =
    "proto.bet.beteran.c2se.member.GetMemberResponse.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.GetMemberByUsernameRequest = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.GetMemberByUsernameRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.displayName =
    "proto.bet.beteran.c2se.member.GetMemberByUsernameRequest";
}
/**
 * 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.GetMemberByUsernameResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.GetMemberByUsernameResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.displayName =
    "proto.bet.beteran.c2se.member.GetMemberByUsernameResponse";
}
/**
 * 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.GetMemberByUsernameResponse.Result = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.displayName =
    "proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.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.UpdateMemberRequest = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.UpdateMemberRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.UpdateMemberRequest.displayName =
    "proto.bet.beteran.c2se.member.UpdateMemberRequest";
}
/**
 * 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.UpdateMemberRequest.BankAccount = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.displayName =
    "proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount";
}
/**
 * Generated by JsPbCodeGenerator.
 * @param {Array=} opt_data Optional initial data array, typically from a
 * server response, or constructed directly in Javascript. The array is used
 * in place and becomes part of the constructed object. It is not cloned.
 * If no data is provided, the constructed object will be empty, but still
 * valid.
 * @extends {jspb.Message}
 * @constructor
 */
proto.bet.beteran.c2se.member.UpdateMemberResponse = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.UpdateMemberResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.UpdateMemberResponse.displayName =
    "proto.bet.beteran.c2se.member.UpdateMemberResponse";
}
/**
 * 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.UpdateMemberResponse.Result = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.UpdateMemberResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.displayName =
    "proto.bet.beteran.c2se.member.UpdateMemberResponse.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.UpdateMemberForStateRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.UpdateMemberForStateRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.displayName =
    "proto.bet.beteran.c2se.member.UpdateMemberForStateRequest";
}
/**
 * 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.UpdateMemberForStateResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.UpdateMemberForStateResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.displayName =
    "proto.bet.beteran.c2se.member.UpdateMemberForStateResponse";
}
/**
 * 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.UpdateMemberForStateResponse.Result = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.displayName =
    "proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.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.DeleteMemberRequest = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.DeleteMemberRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.DeleteMemberRequest.displayName =
    "proto.bet.beteran.c2se.member.DeleteMemberRequest";
}
/**
 * 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.DeleteMemberResponse = function (opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.member.DeleteMemberResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.DeleteMemberResponse.displayName =
    "proto.bet.beteran.c2se.member.DeleteMemberResponse";
}
/**
 * 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.DeleteMemberResponse.Result = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member.DeleteMemberResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member.DeleteMemberResponse.Result.displayName =
    "proto.bet.beteran.c2se.member.DeleteMemberResponse.Result";
}

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

  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.bet.beteran.c2se.member.CreateMemberRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member.CreateMemberRequest.toObject = function (
    includeInstance,
    msg
  ) {
    var f,
      obj = {
        siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
        memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""),
        memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
        referrerMemberUsername: jspb.Message.getFieldWithDefault(msg, 4, ""),
        username: jspb.Message.getFieldWithDefault(msg, 5, ""),
        password: jspb.Message.getFieldWithDefault(msg, 6, ""),
        nickname: jspb.Message.getFieldWithDefault(msg, 7, ""),
        mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 8, ""),
        bankAccount:
          (f = msg.getBankAccount()) &&
          proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.toObject(
            includeInstance,
            f
          ),
      };

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

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

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member.CreateMemberRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.deserializeBinaryFromReader =
  function (msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
        case 1:
          var value = /** @type {string} */ (reader.readString());
          msg.setSiteId(value);
          break;
        case 2:
          var value = /** @type {string} */ (reader.readString());
          msg.setMemberClassId(value);
          break;
        case 3:
          var value = /** @type {string} */ (reader.readString());
          msg.setMemberLevelId(value);
          break;
        case 4:
          var value = /** @type {string} */ (reader.readString());
          msg.setReferrerMemberUsername(value);
          break;
        case 5:
          var value = /** @type {string} */ (reader.readString());
          msg.setUsername(value);
          break;
        case 6:
          var value = /** @type {string} */ (reader.readString());
          msg.setPassword(value);
          break;
        case 7:
          var value = /** @type {string} */ (reader.readString());
          msg.setNickname(value);
          break;
        case 8:
          var value = /** @type {string} */ (reader.readString());
          msg.setMobilePhoneNumber(value);
          break;
        case 9:
          var value =
            new proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount
              .deserializeBinaryFromReader
          );
          msg.setBankAccount(value);
          break;
        default:
          reader.skipField();
          break;
      }
    }
    return msg;
  };

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

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member.CreateMemberRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getSiteId();
    if (f.length > 0) {
      writer.writeString(1, f);
    }
    f = message.getMemberClassId();
    if (f.length > 0) {
      writer.writeString(2, f);
    }
    f = message.getMemberLevelId();
    if (f.length > 0) {
      writer.writeString(3, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 4));
    if (f != null) {
      writer.writeString(4, f);
    }
    f = message.getUsername();
    if (f.length > 0) {
      writer.writeString(5, f);
    }
    f = message.getPassword();
    if (f.length > 0) {
      writer.writeString(6, f);
    }
    f = message.getNickname();
    if (f.length > 0) {
      writer.writeString(7, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 8));
    if (f != null) {
      writer.writeString(8, f);
    }
    f = message.getBankAccount();
    if (f != null) {
      writer.writeMessage(
        9,
        f,
        proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount
          .serializeBinaryToWriter
      );
    }
  };

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

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

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

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

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

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

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

/**
 * optional string bank_id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getBankId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

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

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

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

/**
 * optional string account_number = 3;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getAccountNumber =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 3, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setAccountNumber =
  function (value) {
    return jspb.Message.setProto3StringField(this, 3, value);
  };

/**
 * optional string exchange_password = 4;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.getExchangePassword =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 4, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setExchangePassword =
  function (value) {
    return jspb.Message.setProto3StringField(this, 4, value);
  };

/**
 * optional string site_id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getSiteId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

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

/**
 * optional string member_class_id = 2;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMemberClassId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 2, "")
    );
  };

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

/**
 * optional string member_level_id = 3;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMemberLevelId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 3, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setMemberLevelId =
  function (value) {
    return jspb.Message.setProto3StringField(this, 3, value);
  };

/**
 * optional string referrer_member_username = 4;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getReferrerMemberUsername =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 4, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setReferrerMemberUsername =
  function (value) {
    return jspb.Message.setField(this, 4, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearReferrerMemberUsername =
  function () {
    return jspb.Message.setField(this, 4, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasReferrerMemberUsername =
  function () {
    return jspb.Message.getField(this, 4) != null;
  };

/**
 * optional string username = 5;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getUsername =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 5, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setUsername =
  function (value) {
    return jspb.Message.setProto3StringField(this, 5, value);
  };

/**
 * optional string password = 6;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getPassword =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 6, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setPassword =
  function (value) {
    return jspb.Message.setProto3StringField(this, 6, value);
  };

/**
 * optional string nickname = 7;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getNickname =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 7, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setNickname =
  function (value) {
    return jspb.Message.setProto3StringField(this, 7, value);
  };

/**
 * optional string mobile_phone_number = 8;
 * @return {string}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getMobilePhoneNumber =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 8, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setMobilePhoneNumber =
  function (value) {
    return jspb.Message.setField(this, 8, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearMobilePhoneNumber =
  function () {
    return jspb.Message.setField(this, 8, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasMobilePhoneNumber =
  function () {
    return jspb.Message.getField(this, 8) != null;
  };

/**
 * optional BankAccount bank_account = 9;
 * @return {?proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getBankAccount =
  function () {
    return /** @type{?proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount} */ (
      jspb.Message.getWrapperField(
        this,
        proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount,
        9
      )
    );
  };

/**
 * @param {?proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount|undefined} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setBankAccount =
  function (value) {
    return jspb.Message.setWrapperField(this, 9, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearBankAccount =
  function () {
    return this.setBankAccount(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasBankAccount =
  function () {
    return jspb.Message.getField(this, 9) != null;
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * optional bet.beteran.member.MemberModel member = 1;
 * @return {?proto.bet.beteran.member.MemberModel}
 */
proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.getMember =
  function () {
    return /** @type{?proto.bet.beteran.member.MemberModel} */ (
      jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)
    );
  };

/**
 * @param {?proto.bet.beteran.member.MemberModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.setMember =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.CreateMemberResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.CreateMemberResponse.Result.prototype.clearMember =
  function () {
    return this.setMember(undefined);
  };

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

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

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

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

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

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

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

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.CreateMemberResponse.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.ListMembersRequest.repeatedFields_ = [2];

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

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

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

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

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

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

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

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

  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member.ListMembersRequest.Search.toObject = function (
    includeInstance,
    msg
  ) {
    var f,
      obj = {
        siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
        memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""),
        memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
        parentMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""),
        usernameLike: jspb.Message.getFieldWithDefault(msg, 5, ""),
        nicknameLike: jspb.Message.getFieldWithDefault(msg, 6, ""),
        mobilePhoneNumberLike: jspb.Message.getFieldWithDefault(msg, 7, ""),
        lastSigninedIp: jspb.Message.getFieldWithDefault(msg, 8, ""),
        state: jspb.Message.getFieldWithDefault(msg, 9, 0),
        deletedAt: jspb.Message.getFieldWithDefault(msg, 10, 0),
      };

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

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

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.deserializeBinaryFromReader =
  function (msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
        case 1:
          var value = /** @type {string} */ (reader.readString());
          msg.setSiteId(value);
          break;
        case 2:
          var value = /** @type {string} */ (reader.readString());
          msg.setMemberClassId(value);
          break;
        case 3:
          var value = /** @type {string} */ (reader.readString());
          msg.setMemberLevelId(value);
          break;
        case 4:
          var value = /** @type {string} */ (reader.readString());
          msg.setParentMemberId(value);
          break;
        case 5:
          var value = /** @type {string} */ (reader.readString());
          msg.setUsernameLike(value);
          break;
        case 6:
          var value = /** @type {string} */ (reader.readString());
          msg.setNicknameLike(value);
          break;
        case 7:
          var value = /** @type {string} */ (reader.readString());
          msg.setMobilePhoneNumberLike(value);
          break;
        case 8:
          var value = /** @type {string} */ (reader.readString());
          msg.setLastSigninedIp(value);
          break;
        case 9:
          var value = /** @type {!proto.bet.beteran.member.MemberState} */ (
            reader.readEnum()
          );
          msg.setState(value);
          break;
        case 10:
          var value = /** @type {number} */ (reader.readUint64());
          msg.setDeletedAt(value);
          break;
        default:
          reader.skipField();
          break;
      }
    }
    return msg;
  };

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

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = /** @type {string} */ (jspb.Message.getField(message, 1));
    if (f != null) {
      writer.writeString(1, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 2));
    if (f != null) {
      writer.writeString(2, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 3));
    if (f != null) {
      writer.writeString(3, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 4));
    if (f != null) {
      writer.writeString(4, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 5));
    if (f != null) {
      writer.writeString(5, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 6));
    if (f != null) {
      writer.writeString(6, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 7));
    if (f != null) {
      writer.writeString(7, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 8));
    if (f != null) {
      writer.writeString(8, f);
    }
    f = /** @type {!proto.bet.beteran.member.MemberState} */ (
      jspb.Message.getField(message, 9)
    );
    if (f != null) {
      writer.writeEnum(9, f);
    }
    f = /** @type {number} */ (jspb.Message.getField(message, 10));
    if (f != null) {
      writer.writeUint64(10, f);
    }
  };

/**
 * optional string site_id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getSiteId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

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

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

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

/**
 * optional string member_class_id = 2;
 * @return {string}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMemberClassId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 2, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMemberClassId =
  function (value) {
    return jspb.Message.setField(this, 2, value);
  };

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

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

/**
 * optional string member_level_id = 3;
 * @return {string}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMemberLevelId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 3, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMemberLevelId =
  function (value) {
    return jspb.Message.setField(this, 3, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMemberLevelId =
  function () {
    return jspb.Message.setField(this, 3, undefined);
  };

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

/**
 * optional string parent_member_id = 4;
 * @return {string}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getParentMemberId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 4, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setParentMemberId =
  function (value) {
    return jspb.Message.setField(this, 4, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearParentMemberId =
  function () {
    return jspb.Message.setField(this, 4, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasParentMemberId =
  function () {
    return jspb.Message.getField(this, 4) != null;
  };

/**
 * optional string username_like = 5;
 * @return {string}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getUsernameLike =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 5, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setUsernameLike =
  function (value) {
    return jspb.Message.setField(this, 5, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearUsernameLike =
  function () {
    return jspb.Message.setField(this, 5, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasUsernameLike =
  function () {
    return jspb.Message.getField(this, 5) != null;
  };

/**
 * optional string nickname_like = 6;
 * @return {string}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getNicknameLike =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 6, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setNicknameLike =
  function (value) {
    return jspb.Message.setField(this, 6, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearNicknameLike =
  function () {
    return jspb.Message.setField(this, 6, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasNicknameLike =
  function () {
    return jspb.Message.getField(this, 6) != null;
  };

/**
 * optional string mobile_phone_number_like = 7;
 * @return {string}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getMobilePhoneNumberLike =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 7, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setMobilePhoneNumberLike =
  function (value) {
    return jspb.Message.setField(this, 7, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearMobilePhoneNumberLike =
  function () {
    return jspb.Message.setField(this, 7, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasMobilePhoneNumberLike =
  function () {
    return jspb.Message.getField(this, 7) != null;
  };

/**
 * optional string last_signined_ip = 8;
 * @return {string}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getLastSigninedIp =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 8, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setLastSigninedIp =
  function (value) {
    return jspb.Message.setField(this, 8, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearLastSigninedIp =
  function () {
    return jspb.Message.setField(this, 8, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasLastSigninedIp =
  function () {
    return jspb.Message.getField(this, 8) != null;
  };

/**
 * optional bet.beteran.member.MemberState state = 9;
 * @return {!proto.bet.beteran.member.MemberState}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getState =
  function () {
    return /** @type {!proto.bet.beteran.member.MemberState} */ (
      jspb.Message.getFieldWithDefault(this, 9, 0)
    );
  };

/**
 * @param {!proto.bet.beteran.member.MemberState} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setState =
  function (value) {
    return jspb.Message.setField(this, 9, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearState =
  function () {
    return jspb.Message.setField(this, 9, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasState =
  function () {
    return jspb.Message.getField(this, 9) != null;
  };

/**
 * optional uint64 deleted_at = 10;
 * @return {number}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.getDeletedAt =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFieldWithDefault(this, 10, 0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.setDeletedAt =
  function (value) {
    return jspb.Message.setField(this, 10, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.ListMembersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.clearDeletedAt =
  function () {
    return jspb.Message.setField(this, 10, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.ListMembersRequest.Search.prototype.hasDeletedAt =
  function () {
    return jspb.Message.getField(this, 10) != null;
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * repeated bet.beteran.member.MemberModel members = 1;
 * @return {!Array<!proto.bet.beteran.member.MemberModel>}
 */
proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.getMembersList =
  function () {
    return /** @type{!Array<!proto.bet.beteran.member.MemberModel>} */ (
      jspb.Message.getRepeatedWrapperField(
        this,
        models_member_pb.MemberModel,
        1
      )
    );
  };

/**
 * @param {!Array<!proto.bet.beteran.member.MemberModel>} value
 * @return {!proto.bet.beteran.c2se.member.ListMembersResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.setMembersList =
  function (value) {
    return jspb.Message.setRepeatedWrapperField(this, 1, value);
  };

/**
 * @param {!proto.bet.beteran.member.MemberModel=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.member.MemberModel}
 */
proto.bet.beteran.c2se.member.ListMembersResponse.Result.prototype.addMembers =
  function (opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(
      this,
      1,
      opt_value,
      proto.bet.beteran.member.MemberModel,
      opt_index
    );
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.GetMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.GetMemberRequest.prototype.setId = function (
  value
) {
  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.GetMemberResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member.GetMemberResponse.toObject(
        opt_includeInstance,
        this
      );
    };

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * optional bet.beteran.member.MemberModel member = 1;
 * @return {?proto.bet.beteran.member.MemberModel}
 */
proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.getMember =
  function () {
    return /** @type{?proto.bet.beteran.member.MemberModel} */ (
      jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)
    );
  };

/**
 * @param {?proto.bet.beteran.member.MemberModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member.GetMemberResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.setMember =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.GetMemberResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.GetMemberResponse.Result.prototype.clearMember =
  function () {
    return this.setMember(undefined);
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member.GetMemberByUsernameRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameRequest}
 */
proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.deserializeBinaryFromReader =
  function (msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
        case 1:
          var value = /** @type {string} */ (reader.readString());
          msg.setUsername(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.GetMemberByUsernameRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.serializeBinaryToWriter(
      this,
      writer
    );
    return writer.getResultBuffer();
  };

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

/**
 * optional string username = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member.GetMemberByUsernameRequest.prototype.getUsername =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * optional bet.beteran.member.MemberModel member = 1;
 * @return {?proto.bet.beteran.member.MemberModel}
 */
proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.getMember =
  function () {
    return /** @type{?proto.bet.beteran.member.MemberModel} */ (
      jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)
    );
  };

/**
 * @param {?proto.bet.beteran.member.MemberModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.setMember =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.GetMemberByUsernameResponse.Result.prototype.clearMember =
  function () {
    return this.setMember(undefined);
  };

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

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

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

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

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

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

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

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

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

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

  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member.UpdateMemberRequest.toObject = function (
    includeInstance,
    msg
  ) {
    var f,
      obj = {
        id: jspb.Message.getFieldWithDefault(msg, 1, ""),
        siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
        memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
        password: jspb.Message.getFieldWithDefault(msg, 4, ""),
        mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
        bankAccount:
          (f = msg.getBankAccount()) &&
          proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.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.UpdateMemberRequest}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinary = function (
  bytes
) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.bet.beteran.c2se.member.UpdateMemberRequest();
  return proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader(
    msg,
    reader
  );
};

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader =
  function (msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
        case 1:
          var value = /** @type {string} */ (reader.readString());
          msg.setId(value);
          break;
        case 2:
          var value = /** @type {string} */ (reader.readString());
          msg.setSiteId(value);
          break;
        case 3:
          var value = /** @type {string} */ (reader.readString());
          msg.setMemberLevelId(value);
          break;
        case 4:
          var value = /** @type {string} */ (reader.readString());
          msg.setPassword(value);
          break;
        case 5:
          var value = /** @type {string} */ (reader.readString());
          msg.setMobilePhoneNumber(value);
          break;
        case 6:
          var value =
            new proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount
              .deserializeBinaryFromReader
          );
          msg.setBankAccount(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.UpdateMemberRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter(
      this,
      writer
    );
    return writer.getResultBuffer();
  };

/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getId();
    if (f.length > 0) {
      writer.writeString(1, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 2));
    if (f != null) {
      writer.writeString(2, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 3));
    if (f != null) {
      writer.writeString(3, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 4));
    if (f != null) {
      writer.writeString(4, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 5));
    if (f != null) {
      writer.writeString(5, f);
    }
    f = message.getBankAccount();
    if (f != null) {
      writer.writeMessage(
        6,
        f,
        proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount
          .serializeBinaryToWriter
      );
    }
  };

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

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

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

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

/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryFromReader =
  function (msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
        case 1:
          var value = /** @type {string} */ (reader.readString());
          msg.setId(value);
          break;
        case 2:
          var value = /** @type {string} */ (reader.readString());
          msg.setBankId(value);
          break;
        case 3:
          var value = /** @type {string} */ (reader.readString());
          msg.setName(value);
          break;
        case 4:
          var value = /** @type {string} */ (reader.readString());
          msg.setAccountNumber(value);
          break;
        case 5:
          var value = /** @type {string} */ (reader.readString());
          msg.setExchangePassword(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.UpdateMemberRequest.BankAccount.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToWriter(
      this,
      writer
    );
    return writer.getResultBuffer();
  };

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

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

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

/**
 * optional string bank_id = 2;
 * @return {string}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 2, "")
    );
  };

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

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

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

/**
 * optional string account_number = 4;
 * @return {string}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccountNumber =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 4, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setAccountNumber =
  function (value) {
    return jspb.Message.setProto3StringField(this, 4, value);
  };

/**
 * optional string exchange_password = 5;
 * @return {string}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 5, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExchangePassword =
  function (value) {
    return jspb.Message.setProto3StringField(this, 5, value);
  };

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

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

/**
 * optional string site_id = 2;
 * @return {string}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSiteId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 2, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setSiteId =
  function (value) {
    return jspb.Message.setField(this, 2, value);
  };

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

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

/**
 * optional string member_level_id = 3;
 * @return {string}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMemberLevelId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 3, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMemberLevelId =
  function (value) {
    return jspb.Message.setField(this, 3, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMemberLevelId =
  function () {
    return jspb.Message.setField(this, 3, undefined);
  };

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

/**
 * optional string password = 4;
 * @return {string}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getPassword =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 4, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setPassword =
  function (value) {
    return jspb.Message.setField(this, 4, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearPassword =
  function () {
    return jspb.Message.setField(this, 4, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasPassword =
  function () {
    return jspb.Message.getField(this, 4) != null;
  };

/**
 * optional string mobile_phone_number = 5;
 * @return {string}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getMobilePhoneNumber =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 5, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setMobilePhoneNumber =
  function (value) {
    return jspb.Message.setField(this, 5, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearMobilePhoneNumber =
  function () {
    return jspb.Message.setField(this, 5, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasMobilePhoneNumber =
  function () {
    return jspb.Message.getField(this, 5) != null;
  };

/**
 * optional BankAccount bank_account = 6;
 * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getBankAccount =
  function () {
    return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} */ (
      jspb.Message.getWrapperField(
        this,
        proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount,
        6
      )
    );
  };

/**
 * @param {?proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount|undefined} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setBankAccount =
  function (value) {
    return jspb.Message.setWrapperField(this, 6, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearBankAccount =
  function () {
    return this.setBankAccount(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasBankAccount =
  function () {
    return jspb.Message.getField(this, 6) != null;
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * optional bet.beteran.member.MemberModel member = 1;
 * @return {?proto.bet.beteran.member.MemberModel}
 */
proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.getMember =
  function () {
    return /** @type{?proto.bet.beteran.member.MemberModel} */ (
      jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)
    );
  };

/**
 * @param {?proto.bet.beteran.member.MemberModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.setMember =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberResponse.Result.prototype.clearMember =
  function () {
    return this.setMember(undefined);
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * optional bet.beteran.member.MemberState state = 2;
 * @return {!proto.bet.beteran.member.MemberState}
 */
proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.getState =
  function () {
    return /** @type {!proto.bet.beteran.member.MemberState} */ (
      jspb.Message.getFieldWithDefault(this, 2, 0)
    );
  };

/**
 * @param {!proto.bet.beteran.member.MemberState} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateRequest} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberForStateRequest.prototype.setState =
  function (value) {
    return jspb.Message.setProto3EnumField(this, 2, value);
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * optional bet.beteran.member.MemberModel member = 1;
 * @return {?proto.bet.beteran.member.MemberModel}
 */
proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.getMember =
  function () {
    return /** @type{?proto.bet.beteran.member.MemberModel} */ (
      jspb.Message.getWrapperField(this, models_member_pb.MemberModel, 1)
    );
  };

/**
 * @param {?proto.bet.beteran.member.MemberModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.setMember =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result} returns this
 */
proto.bet.beteran.c2se.member.UpdateMemberForStateResponse.Result.prototype.clearMember =
  function () {
    return this.setMember(undefined);
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member.DeleteMemberRequest} returns this
 */
proto.bet.beteran.c2se.member.DeleteMemberRequest.prototype.setId = function (
  value
) {
  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.DeleteMemberResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member.DeleteMemberResponse.toObject(
        opt_includeInstance,
        this
      );
    };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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