// source: c2se/site.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_site_pb = require('../models/site_pb.js');
goog.object.extend(proto, models_site_pb);
goog.exportSymbol('proto.bet.beteran.c2se.site.CreateSiteRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.CreateSiteResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.CreateSiteResponse.Result', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.DeleteSiteRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.DeleteSiteResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.DeleteSiteResponse.Result', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.GetSiteRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.GetSiteResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.GetSiteResponse.Result', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.ListSitesRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.ListSitesRequest.Search', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.ListSitesResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.ListSitesResponse.Result', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.UpdateSiteRequest', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.UpdateSiteResponse', null, global);
goog.exportSymbol('proto.bet.beteran.c2se.site.UpdateSiteResponse.Result', null, global);
/**
 * 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.site.CreateSiteRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.CreateSiteRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.CreateSiteRequest.displayName = 'proto.bet.beteran.c2se.site.CreateSiteRequest';
}
/**
 * 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.site.CreateSiteResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.CreateSiteResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.CreateSiteResponse.displayName = 'proto.bet.beteran.c2se.site.CreateSiteResponse';
}
/**
 * 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.site.CreateSiteResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.CreateSiteResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.CreateSiteResponse.Result.displayName = 'proto.bet.beteran.c2se.site.CreateSiteResponse.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.site.ListSitesRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.site.ListSitesRequest.repeatedFields_, null);
};
goog.inherits(proto.bet.beteran.c2se.site.ListSitesRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.ListSitesRequest.displayName = 'proto.bet.beteran.c2se.site.ListSitesRequest';
}
/**
 * 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.site.ListSitesRequest.Search = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.ListSitesRequest.Search, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.ListSitesRequest.Search.displayName = 'proto.bet.beteran.c2se.site.ListSitesRequest.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.site.ListSitesResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.ListSitesResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.ListSitesResponse.displayName = 'proto.bet.beteran.c2se.site.ListSitesResponse';
}
/**
 * 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.site.ListSitesResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.site.ListSitesResponse.Result.repeatedFields_, null);
};
goog.inherits(proto.bet.beteran.c2se.site.ListSitesResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.ListSitesResponse.Result.displayName = 'proto.bet.beteran.c2se.site.ListSitesResponse.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.site.GetSiteRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.GetSiteRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.GetSiteRequest.displayName = 'proto.bet.beteran.c2se.site.GetSiteRequest';
}
/**
 * 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.site.GetSiteResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.GetSiteResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.GetSiteResponse.displayName = 'proto.bet.beteran.c2se.site.GetSiteResponse';
}
/**
 * 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.site.GetSiteResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.GetSiteResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.GetSiteResponse.Result.displayName = 'proto.bet.beteran.c2se.site.GetSiteResponse.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.site.UpdateSiteRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.UpdateSiteRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.UpdateSiteRequest.displayName = 'proto.bet.beteran.c2se.site.UpdateSiteRequest';
}
/**
 * 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.site.UpdateSiteResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.UpdateSiteResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.UpdateSiteResponse.displayName = 'proto.bet.beteran.c2se.site.UpdateSiteResponse';
}
/**
 * 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.site.UpdateSiteResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.UpdateSiteResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.displayName = 'proto.bet.beteran.c2se.site.UpdateSiteResponse.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.site.DeleteSiteRequest = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.DeleteSiteRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.DeleteSiteRequest.displayName = 'proto.bet.beteran.c2se.site.DeleteSiteRequest';
}
/**
 * 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.site.DeleteSiteResponse = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.DeleteSiteResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.DeleteSiteResponse.displayName = 'proto.bet.beteran.c2se.site.DeleteSiteResponse';
}
/**
 * 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.site.DeleteSiteResponse.Result = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.site.DeleteSiteResponse.Result, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.site.DeleteSiteResponse.Result.displayName = 'proto.bet.beteran.c2se.site.DeleteSiteResponse.Result';
}



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


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

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


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


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


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


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


/**
 * optional string url = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


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


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


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


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


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


/**
 * optional string path = 3;
 * @return {string}
 */
proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getPath = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


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


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


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


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


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


/**
 * optional bool can_use = 5;
 * @return {boolean}
 */
proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getCanUse = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};


/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this
 */
proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setCanUse = function(value) {
  return jspb.Message.setProto3BooleanField(this, 5, value);
};


/**
 * optional string memo = 6;
 * @return {string}
 */
proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getMemo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


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


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


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


/**
 * optional uint64 expires_at = 7;
 * @return {number}
 */
proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.getExpiresAt = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};


/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.site.CreateSiteRequest} returns this
 */
proto.bet.beteran.c2se.site.CreateSiteRequest.prototype.setExpiresAt = function(value) {
  return jspb.Message.setField(this, 7, value);
};


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


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





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


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

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


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


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


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


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





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


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

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


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


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


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


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


/**
 * optional bet.beteran.site.Site site = 1;
 * @return {?proto.bet.beteran.site.Site}
 */
proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.getSite = function() {
  return /** @type{?proto.bet.beteran.site.Site} */ (
    jspb.Message.getWrapperField(this, models_site_pb.Site, 1));
};


/**
 * @param {?proto.bet.beteran.site.Site|undefined} value
 * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse.Result} returns this
*/
proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.setSite = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.site.CreateSiteResponse.Result} returns this
 */
proto.bet.beteran.c2se.site.CreateSiteResponse.Result.prototype.clearSite = function() {
  return this.setSite(undefined);
};


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


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


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


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


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


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


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


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


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



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


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

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


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


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


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


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





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


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

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


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


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


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


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


/**
 * optional string url_like = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getUrlLike = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


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


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


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


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


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


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


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


/**
 * optional string path_like = 3;
 * @return {string}
 */
proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getPathLike = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


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


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


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


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


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


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


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


/**
 * optional bool can_use = 5;
 * @return {boolean}
 */
proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getCanUse = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};


/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.site.ListSitesRequest.Search} returns this
 */
proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.setCanUse = function(value) {
  return jspb.Message.setField(this, 5, value);
};


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


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


/**
 * optional string memo_like = 6;
 * @return {string}
 */
proto.bet.beteran.c2se.site.ListSitesRequest.Search.prototype.getMemoLike = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};


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


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


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


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


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


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


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


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


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


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


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


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


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


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





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


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

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


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


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


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


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



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


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


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


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


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


/**
 * repeated bet.beteran.site.Site sites = 1;
 * @return {!Array<!proto.bet.beteran.site.Site>}
 */
proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.getSitesList = function() {
  return /** @type{!Array<!proto.bet.beteran.site.Site>} */ (
    jspb.Message.getRepeatedWrapperField(this, models_site_pb.Site, 1));
};


/**
 * @param {!Array<!proto.bet.beteran.site.Site>} value
 * @return {!proto.bet.beteran.c2se.site.ListSitesResponse.Result} returns this
*/
proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.setSitesList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
};


/**
 * @param {!proto.bet.beteran.site.Site=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.site.Site}
 */
proto.bet.beteran.c2se.site.ListSitesResponse.Result.prototype.addSites = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.site.Site, opt_index);
};


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


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


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


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


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


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


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


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


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





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


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

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


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


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


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


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


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


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

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


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


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


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.bet.beteran.c2se.site.GetSiteResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.site.GetSiteResponse.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getError();
  if (f != null) {
    writer.writeMessage(
      1,
      f,
      protobuf_rpc_pb.Error.serializeBinaryToWriter
    );
  }
  f = message.getResult();
  if (f != null) {
    writer.writeMessage(
      2,
      f,
      proto.bet.beteran.c2se.site.GetSiteResponse.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.site.GetSiteResponse.Result.prototype.toObject = function(opt_includeInstance) {
  return proto.bet.beteran.c2se.site.GetSiteResponse.Result.toObject(opt_includeInstance, this);
};


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

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


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


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


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


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


/**
 * optional bet.beteran.site.Site site = 1;
 * @return {?proto.bet.beteran.site.Site}
 */
proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.getSite = function() {
  return /** @type{?proto.bet.beteran.site.Site} */ (
    jspb.Message.getWrapperField(this, models_site_pb.Site, 1));
};


/**
 * @param {?proto.bet.beteran.site.Site|undefined} value
 * @return {!proto.bet.beteran.c2se.site.GetSiteResponse.Result} returns this
*/
proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.setSite = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.site.GetSiteResponse.Result} returns this
 */
proto.bet.beteran.c2se.site.GetSiteResponse.Result.prototype.clearSite = function() {
  return this.setSite(undefined);
};


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


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


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


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


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


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


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


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


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





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


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

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


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


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


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


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


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


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


/**
 * optional string url = 2;
 * @return {string}
 */
proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getUrl = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


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


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


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


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


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


/**
 * optional string path = 4;
 * @return {string}
 */
proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getPath = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


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


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


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


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


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


/**
 * optional bool can_use = 6;
 * @return {boolean}
 */
proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getCanUse = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
};


/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this
 */
proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setCanUse = function(value) {
  return jspb.Message.setProto3BooleanField(this, 6, value);
};


/**
 * optional string memo = 7;
 * @return {string}
 */
proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getMemo = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};


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


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


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


/**
 * optional uint64 expires_at = 8;
 * @return {number}
 */
proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.getExpiresAt = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};


/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.site.UpdateSiteRequest} returns this
 */
proto.bet.beteran.c2se.site.UpdateSiteRequest.prototype.setExpiresAt = function(value) {
  return jspb.Message.setField(this, 8, value);
};


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


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





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


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

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


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


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


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


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





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


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

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


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


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


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


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


/**
 * optional bet.beteran.site.Site site = 1;
 * @return {?proto.bet.beteran.site.Site}
 */
proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.getSite = function() {
  return /** @type{?proto.bet.beteran.site.Site} */ (
    jspb.Message.getWrapperField(this, models_site_pb.Site, 1));
};


/**
 * @param {?proto.bet.beteran.site.Site|undefined} value
 * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse.Result} returns this
*/
proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.setSite = function(value) {
  return jspb.Message.setWrapperField(this, 1, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.site.UpdateSiteResponse.Result} returns this
 */
proto.bet.beteran.c2se.site.UpdateSiteResponse.Result.prototype.clearSite = function() {
  return this.setSite(undefined);
};


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


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


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


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


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


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


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


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


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





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


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

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


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


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


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


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


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


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

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


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


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


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


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





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


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

  };

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


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


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


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


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


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


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


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


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


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


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


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


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