// source: Event.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 =
    (typeof globalThis !== 'undefined' && globalThis) ||
    (typeof window !== 'undefined' && window) ||
    (typeof global !== 'undefined' && global) ||
    (typeof self !== 'undefined' && self) ||
    (function () { return this; }).call(null) ||
    Function('return this')();

goog.exportSymbol('proto.Event', null, global);
goog.exportSymbol('proto.Event.AvatarNetStatus', null, global);
goog.exportSymbol('proto.Event.DrawingComponent', null, global);
goog.exportSymbol('proto.Event.EventID', null, global);
goog.exportSymbol('proto.Event.FasttextCase', null, global);
goog.exportSymbol('proto.Event.NetDrawing', null, global);
goog.exportSymbol('proto.Event.NetDrawing.Variety', null, global);
goog.exportSymbol('proto.Event.QwilightCallNet', null, global);
goog.exportSymbol('proto.Event.QwilightIOAudioMultiplier', null, global);
goog.exportSymbol('proto.Event.QwilightIOInput', null, global);
goog.exportSymbol('proto.Event.QwilightIOJudge', null, global);
goog.exportSymbol('proto.Event.QwilightIOJudgmentMeter', null, global);
goog.exportSymbol('proto.Event.QwilightIOMultiplier', null, global);
goog.exportSymbol('proto.Event.QwilightIONoteVisibility', null, global);
goog.exportSymbol('proto.Event.QwilightPostItem', null, global);
goog.exportSymbol('proto.Event.TwilightAudioInput', null, global);
goog.exportSymbol('proto.Event.TwilightCallNet', null, global);
goog.exportSymbol('proto.Event.TwilightCallNet.CallNetItem', null, global);
goog.exportSymbol('proto.Event.TwilightIOAudioMultiplier', null, global);
goog.exportSymbol('proto.Event.TwilightIOInput', null, global);
goog.exportSymbol('proto.Event.TwilightIOJudge', null, global);
goog.exportSymbol('proto.Event.TwilightIOJudgmentMeter', null, global);
goog.exportSymbol('proto.Event.TwilightIOMultiplier', null, global);
goog.exportSymbol('proto.Event.TwilightIONoteVisibility', null, global);
goog.exportSymbol('proto.Event.TwilightPostItem', 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.Event = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.repeatedFields_, proto.Event.oneofGroups_);
};
goog.inherits(proto.Event, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.displayName = 'proto.Event';
}
/**
 * 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.Event.TwilightCallNet = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.TwilightCallNet.repeatedFields_, null);
};
goog.inherits(proto.Event.TwilightCallNet, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightCallNet.displayName = 'proto.Event.TwilightCallNet';
}
/**
 * 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.Event.TwilightCallNet.CallNetItem = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.TwilightCallNet.CallNetItem.repeatedFields_, null);
};
goog.inherits(proto.Event.TwilightCallNet.CallNetItem, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightCallNet.CallNetItem.displayName = 'proto.Event.TwilightCallNet.CallNetItem';
}
/**
 * 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.Event.QwilightCallNet = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.QwilightCallNet.repeatedFields_, null);
};
goog.inherits(proto.Event.QwilightCallNet, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.QwilightCallNet.displayName = 'proto.Event.QwilightCallNet';
}
/**
 * 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.Event.NetDrawing = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.NetDrawing, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.NetDrawing.displayName = 'proto.Event.NetDrawing';
}
/**
 * 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.Event.DrawingComponent = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.DrawingComponent, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.DrawingComponent.displayName = 'proto.Event.DrawingComponent';
}
/**
 * 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.Event.QwilightIOInput = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.QwilightIOInput.repeatedFields_, null);
};
goog.inherits(proto.Event.QwilightIOInput, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.QwilightIOInput.displayName = 'proto.Event.QwilightIOInput';
}
/**
 * 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.Event.TwilightIOInput = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.TwilightIOInput, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightIOInput.displayName = 'proto.Event.TwilightIOInput';
}
/**
 * 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.Event.QwilightIOJudge = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.QwilightIOJudge.repeatedFields_, null);
};
goog.inherits(proto.Event.QwilightIOJudge, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.QwilightIOJudge.displayName = 'proto.Event.QwilightIOJudge';
}
/**
 * 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.Event.TwilightIOJudge = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.TwilightIOJudge, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightIOJudge.displayName = 'proto.Event.TwilightIOJudge';
}
/**
 * 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.Event.QwilightIOJudgmentMeter = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.QwilightIOJudgmentMeter.repeatedFields_, null);
};
goog.inherits(proto.Event.QwilightIOJudgmentMeter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.QwilightIOJudgmentMeter.displayName = 'proto.Event.QwilightIOJudgmentMeter';
}
/**
 * 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.Event.TwilightIOJudgmentMeter = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.TwilightIOJudgmentMeter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightIOJudgmentMeter.displayName = 'proto.Event.TwilightIOJudgmentMeter';
}
/**
 * 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.Event.QwilightIONoteVisibility = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.QwilightIONoteVisibility.repeatedFields_, null);
};
goog.inherits(proto.Event.QwilightIONoteVisibility, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.QwilightIONoteVisibility.displayName = 'proto.Event.QwilightIONoteVisibility';
}
/**
 * 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.Event.TwilightIONoteVisibility = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.TwilightIONoteVisibility, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightIONoteVisibility.displayName = 'proto.Event.TwilightIONoteVisibility';
}
/**
 * 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.Event.QwilightIOMultiplier = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.QwilightIOMultiplier.repeatedFields_, null);
};
goog.inherits(proto.Event.QwilightIOMultiplier, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.QwilightIOMultiplier.displayName = 'proto.Event.QwilightIOMultiplier';
}
/**
 * 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.Event.TwilightIOMultiplier = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.TwilightIOMultiplier, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightIOMultiplier.displayName = 'proto.Event.TwilightIOMultiplier';
}
/**
 * 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.Event.QwilightIOAudioMultiplier = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Event.QwilightIOAudioMultiplier.repeatedFields_, null);
};
goog.inherits(proto.Event.QwilightIOAudioMultiplier, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.QwilightIOAudioMultiplier.displayName = 'proto.Event.QwilightIOAudioMultiplier';
}
/**
 * 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.Event.TwilightIOAudioMultiplier = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.TwilightIOAudioMultiplier, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightIOAudioMultiplier.displayName = 'proto.Event.TwilightIOAudioMultiplier';
}
/**
 * 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.Event.TwilightAudioInput = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.TwilightAudioInput, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightAudioInput.displayName = 'proto.Event.TwilightAudioInput';
}
/**
 * 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.Event.QwilightPostItem = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.QwilightPostItem, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.QwilightPostItem.displayName = 'proto.Event.QwilightPostItem';
}
/**
 * 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.Event.TwilightPostItem = function(opt_data) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.Event.TwilightPostItem, jspb.Message);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.Event.TwilightPostItem.displayName = 'proto.Event.TwilightPostItem';
}

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.repeatedFields_ = [5];

/**
 * Oneof group definitions for this message. Each group defines the field
 * numbers belonging to that group. When of these fields' value is set, all
 * other fields in the group are cleared. During deserialization, if multiple
 * fields are encountered for a group, only the last value seen will be kept.
 * @private {!Array<!Array<number>>}
 * @const
 */
proto.Event.oneofGroups_ = [[6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]];

/**
 * @enum {number}
 */
proto.Event.FasttextCase = {
  FASTTEXT_NOT_SET: 0,
  QWILIGHTCALLNET: 6,
  TWILIGHTCALLNET: 7,
  QWILIGHTIOINPUT: 8,
  TWILIGHTIOINPUT: 9,
  QWILIGHTIOJUDGE: 10,
  TWILIGHTIOJUDGE: 11,
  QWILIGHTIOJUDGMENTMETER: 12,
  TWILIGHTIOJUDGMENTMETER: 13,
  QWILIGHTIONOTEVISIBILITY: 14,
  TWILIGHTIONOTEVISIBILITY: 15,
  QWILIGHTIOMULTIPLIER: 16,
  TWILIGHTIOMULTIPLIER: 17,
  QWILIGHTIOAUDIOMULTIPLIER: 18,
  TWILIGHTIOAUDIOMULTIPLIER: 19,
  TWILIGHTAUDIOINPUT: 20,
  QWILIGHTPOSTITEM: 21,
  TWILIGHTPOSTITEM: 22
};

/**
 * @return {proto.Event.FasttextCase}
 */
proto.Event.prototype.getFasttextCase = function() {
  return /** @type {proto.Event.FasttextCase} */(jspb.Message.computeOneofCase(this, proto.Event.oneofGroups_[0]));
};



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.Event.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.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.Event} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.toObject = function(includeInstance, msg) {
  var f, obj = {
    millis: jspb.Message.getFieldWithDefault(msg, 1, 0),
    avatarid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    eventid: jspb.Message.getFieldWithDefault(msg, 3, 0),
    text: jspb.Message.getFieldWithDefault(msg, 4, ""),
    dataList: msg.getDataList_asB64(),
    qwilightcallnet: (f = msg.getQwilightcallnet()) && proto.Event.QwilightCallNet.toObject(includeInstance, f),
    twilightcallnet: (f = msg.getTwilightcallnet()) && proto.Event.TwilightCallNet.toObject(includeInstance, f),
    qwilightioinput: (f = msg.getQwilightioinput()) && proto.Event.QwilightIOInput.toObject(includeInstance, f),
    twilightioinput: (f = msg.getTwilightioinput()) && proto.Event.TwilightIOInput.toObject(includeInstance, f),
    qwilightiojudge: (f = msg.getQwilightiojudge()) && proto.Event.QwilightIOJudge.toObject(includeInstance, f),
    twilightiojudge: (f = msg.getTwilightiojudge()) && proto.Event.TwilightIOJudge.toObject(includeInstance, f),
    qwilightiojudgmentmeter: (f = msg.getQwilightiojudgmentmeter()) && proto.Event.QwilightIOJudgmentMeter.toObject(includeInstance, f),
    twilightiojudgmentmeter: (f = msg.getTwilightiojudgmentmeter()) && proto.Event.TwilightIOJudgmentMeter.toObject(includeInstance, f),
    qwilightionotevisibility: (f = msg.getQwilightionotevisibility()) && proto.Event.QwilightIONoteVisibility.toObject(includeInstance, f),
    twilightionotevisibility: (f = msg.getTwilightionotevisibility()) && proto.Event.TwilightIONoteVisibility.toObject(includeInstance, f),
    qwilightiomultiplier: (f = msg.getQwilightiomultiplier()) && proto.Event.QwilightIOMultiplier.toObject(includeInstance, f),
    twilightiomultiplier: (f = msg.getTwilightiomultiplier()) && proto.Event.TwilightIOMultiplier.toObject(includeInstance, f),
    qwilightioaudiomultiplier: (f = msg.getQwilightioaudiomultiplier()) && proto.Event.QwilightIOAudioMultiplier.toObject(includeInstance, f),
    twilightioaudiomultiplier: (f = msg.getTwilightioaudiomultiplier()) && proto.Event.TwilightIOAudioMultiplier.toObject(includeInstance, f),
    twilightaudioinput: (f = msg.getTwilightaudioinput()) && proto.Event.TwilightAudioInput.toObject(includeInstance, f),
    qwilightpostitem: (f = msg.getQwilightpostitem()) && proto.Event.QwilightPostItem.toObject(includeInstance, f),
    twilightpostitem: (f = msg.getTwilightpostitem()) && proto.Event.TwilightPostItem.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.Event}
 */
proto.Event.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.Event;
  return proto.Event.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event}
 */
proto.Event.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readInt64());
      msg.setMillis(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setAvatarid(value);
      break;
    case 3:
      var value = /** @type {!proto.Event.EventID} */ (reader.readEnum());
      msg.setEventid(value);
      break;
    case 4:
      var value = /** @type {string} */ (reader.readString());
      msg.setText(value);
      break;
    case 5:
      var value = /** @type {!Uint8Array} */ (reader.readBytes());
      msg.addData(value);
      break;
    case 6:
      var value = new proto.Event.QwilightCallNet;
      reader.readMessage(value,proto.Event.QwilightCallNet.deserializeBinaryFromReader);
      msg.setQwilightcallnet(value);
      break;
    case 7:
      var value = new proto.Event.TwilightCallNet;
      reader.readMessage(value,proto.Event.TwilightCallNet.deserializeBinaryFromReader);
      msg.setTwilightcallnet(value);
      break;
    case 8:
      var value = new proto.Event.QwilightIOInput;
      reader.readMessage(value,proto.Event.QwilightIOInput.deserializeBinaryFromReader);
      msg.setQwilightioinput(value);
      break;
    case 9:
      var value = new proto.Event.TwilightIOInput;
      reader.readMessage(value,proto.Event.TwilightIOInput.deserializeBinaryFromReader);
      msg.setTwilightioinput(value);
      break;
    case 10:
      var value = new proto.Event.QwilightIOJudge;
      reader.readMessage(value,proto.Event.QwilightIOJudge.deserializeBinaryFromReader);
      msg.setQwilightiojudge(value);
      break;
    case 11:
      var value = new proto.Event.TwilightIOJudge;
      reader.readMessage(value,proto.Event.TwilightIOJudge.deserializeBinaryFromReader);
      msg.setTwilightiojudge(value);
      break;
    case 12:
      var value = new proto.Event.QwilightIOJudgmentMeter;
      reader.readMessage(value,proto.Event.QwilightIOJudgmentMeter.deserializeBinaryFromReader);
      msg.setQwilightiojudgmentmeter(value);
      break;
    case 13:
      var value = new proto.Event.TwilightIOJudgmentMeter;
      reader.readMessage(value,proto.Event.TwilightIOJudgmentMeter.deserializeBinaryFromReader);
      msg.setTwilightiojudgmentmeter(value);
      break;
    case 14:
      var value = new proto.Event.QwilightIONoteVisibility;
      reader.readMessage(value,proto.Event.QwilightIONoteVisibility.deserializeBinaryFromReader);
      msg.setQwilightionotevisibility(value);
      break;
    case 15:
      var value = new proto.Event.TwilightIONoteVisibility;
      reader.readMessage(value,proto.Event.TwilightIONoteVisibility.deserializeBinaryFromReader);
      msg.setTwilightionotevisibility(value);
      break;
    case 16:
      var value = new proto.Event.QwilightIOMultiplier;
      reader.readMessage(value,proto.Event.QwilightIOMultiplier.deserializeBinaryFromReader);
      msg.setQwilightiomultiplier(value);
      break;
    case 17:
      var value = new proto.Event.TwilightIOMultiplier;
      reader.readMessage(value,proto.Event.TwilightIOMultiplier.deserializeBinaryFromReader);
      msg.setTwilightiomultiplier(value);
      break;
    case 18:
      var value = new proto.Event.QwilightIOAudioMultiplier;
      reader.readMessage(value,proto.Event.QwilightIOAudioMultiplier.deserializeBinaryFromReader);
      msg.setQwilightioaudiomultiplier(value);
      break;
    case 19:
      var value = new proto.Event.TwilightIOAudioMultiplier;
      reader.readMessage(value,proto.Event.TwilightIOAudioMultiplier.deserializeBinaryFromReader);
      msg.setTwilightioaudiomultiplier(value);
      break;
    case 20:
      var value = new proto.Event.TwilightAudioInput;
      reader.readMessage(value,proto.Event.TwilightAudioInput.deserializeBinaryFromReader);
      msg.setTwilightaudioinput(value);
      break;
    case 21:
      var value = new proto.Event.QwilightPostItem;
      reader.readMessage(value,proto.Event.QwilightPostItem.deserializeBinaryFromReader);
      msg.setQwilightpostitem(value);
      break;
    case 22:
      var value = new proto.Event.TwilightPostItem;
      reader.readMessage(value,proto.Event.TwilightPostItem.deserializeBinaryFromReader);
      msg.setTwilightpostitem(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getMillis();
  if (f !== 0) {
    writer.writeInt64(
      1,
      f
    );
  }
  f = message.getAvatarid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getEventid();
  if (f !== 0.0) {
    writer.writeEnum(
      3,
      f
    );
  }
  f = message.getText();
  if (f.length > 0) {
    writer.writeString(
      4,
      f
    );
  }
  f = message.getDataList_asU8();
  if (f.length > 0) {
    writer.writeRepeatedBytes(
      5,
      f
    );
  }
  f = message.getQwilightcallnet();
  if (f != null) {
    writer.writeMessage(
      6,
      f,
      proto.Event.QwilightCallNet.serializeBinaryToWriter
    );
  }
  f = message.getTwilightcallnet();
  if (f != null) {
    writer.writeMessage(
      7,
      f,
      proto.Event.TwilightCallNet.serializeBinaryToWriter
    );
  }
  f = message.getQwilightioinput();
  if (f != null) {
    writer.writeMessage(
      8,
      f,
      proto.Event.QwilightIOInput.serializeBinaryToWriter
    );
  }
  f = message.getTwilightioinput();
  if (f != null) {
    writer.writeMessage(
      9,
      f,
      proto.Event.TwilightIOInput.serializeBinaryToWriter
    );
  }
  f = message.getQwilightiojudge();
  if (f != null) {
    writer.writeMessage(
      10,
      f,
      proto.Event.QwilightIOJudge.serializeBinaryToWriter
    );
  }
  f = message.getTwilightiojudge();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.Event.TwilightIOJudge.serializeBinaryToWriter
    );
  }
  f = message.getQwilightiojudgmentmeter();
  if (f != null) {
    writer.writeMessage(
      12,
      f,
      proto.Event.QwilightIOJudgmentMeter.serializeBinaryToWriter
    );
  }
  f = message.getTwilightiojudgmentmeter();
  if (f != null) {
    writer.writeMessage(
      13,
      f,
      proto.Event.TwilightIOJudgmentMeter.serializeBinaryToWriter
    );
  }
  f = message.getQwilightionotevisibility();
  if (f != null) {
    writer.writeMessage(
      14,
      f,
      proto.Event.QwilightIONoteVisibility.serializeBinaryToWriter
    );
  }
  f = message.getTwilightionotevisibility();
  if (f != null) {
    writer.writeMessage(
      15,
      f,
      proto.Event.TwilightIONoteVisibility.serializeBinaryToWriter
    );
  }
  f = message.getQwilightiomultiplier();
  if (f != null) {
    writer.writeMessage(
      16,
      f,
      proto.Event.QwilightIOMultiplier.serializeBinaryToWriter
    );
  }
  f = message.getTwilightiomultiplier();
  if (f != null) {
    writer.writeMessage(
      17,
      f,
      proto.Event.TwilightIOMultiplier.serializeBinaryToWriter
    );
  }
  f = message.getQwilightioaudiomultiplier();
  if (f != null) {
    writer.writeMessage(
      18,
      f,
      proto.Event.QwilightIOAudioMultiplier.serializeBinaryToWriter
    );
  }
  f = message.getTwilightioaudiomultiplier();
  if (f != null) {
    writer.writeMessage(
      19,
      f,
      proto.Event.TwilightIOAudioMultiplier.serializeBinaryToWriter
    );
  }
  f = message.getTwilightaudioinput();
  if (f != null) {
    writer.writeMessage(
      20,
      f,
      proto.Event.TwilightAudioInput.serializeBinaryToWriter
    );
  }
  f = message.getQwilightpostitem();
  if (f != null) {
    writer.writeMessage(
      21,
      f,
      proto.Event.QwilightPostItem.serializeBinaryToWriter
    );
  }
  f = message.getTwilightpostitem();
  if (f != null) {
    writer.writeMessage(
      22,
      f,
      proto.Event.TwilightPostItem.serializeBinaryToWriter
    );
  }
};


/**
 * @enum {number}
 */
proto.Event.AvatarNetStatus = {
  DEFAULT: 0,
  CLEAR: 1,
  FAILED: 2
};

/**
 * @enum {number}
 */
proto.Event.EventID = {
  SIGN_IN: 0,
  NOT_SIGN_IN: 1,
  WARNING: 2,
  SITE_YELL: 3,
  CALL_BUNDLE: 4,
  SAVE_AS_BUNDLE: 5,
  SAVING_BUNDLE: 6,
  WIPE_BUNDLE: 7,
  SET_BUNDLE: 8,
  CALL_UBUNTU: 9,
  CALL_SITE_AVATAR: 10,
  COMMENT: 11,
  SET_SITUATION: 12,
  NEW_TITLE: 13,
  STOP_SAVING_BUNDLE: 14,
  SAVED_BUNDLE: 15,
  SAVE_BUNDLE: 16,
  ENTER_SITE: 17,
  QUIT_SITE: 18,
  WIPE_UBUNTU: 19,
  NEW_SITE: 20,
  NEW_UBUNTU: 21,
  EXILE_AVATAR: 22,
  NEW_SILENT_SITE: 23,
  ESTABLISH: 24,
  CALL_CONFIGURE: 25,
  SET_CONFIGURE: 26,
  NOTIFY_INFO: 27,
  LEVY_NET: 28,
  COMPILED: 29,
  CALL_NET: 30,
  SET_MODE_COMPONENT: 31,
  SET_FAVOR_MODE_COMPONENT: 32,
  SET_VALID_HUNTER_MODE: 33,
  CALL_NET_SITE_COMMENTS: 34,
  SET_NOTE_FILE: 35,
  SET_SITE_NAME: 36,
  SET_SITE_HAND: 37,
  QUIT_NET: 38,
  SAVING_AS_BUNDLE: 39,
  SAVED_AS_BUNDLE: 40,
  STOP_SAVING_AS_BUNDLE: 41,
  SAVE_DEFAULT_NOTE: 42,
  POST_FILE: 43,
  SAVE_DEFAULT_UI: 44,
  SET_FAVOR_AUDIO_MULTIPLIER: 45,
  CALL_SITE_NET: 46,
  NOTIFY_YES: 47,
  CALL_IO: 48,
  CALL_IO_COMPONENT: 49,
  COMPILED_IO: 50,
  LEVY_IO: 51,
  IO_INPUT: 52,
  IO_JUDGE: 53,
  IO_NOTE_VISIBILITY: 54,
  IO_JUDGMENT_METER: 56,
  IO_MULTIPLIER: 57,
  IO_AUDIO_MULTIPLIER: 58,
  IO_PAUSE: 59,
  IO_QUIT: 60,
  IO_NOT: 61,
  AUDIO_INPUT: 62,
  CALL_SITE_MODE_COMPONENT: 63,
  COMMENTARY: 65,
  WWW_LEVEL: 66,
  AVATAR_TITLE: 67,
  INVALIDATE_AVATAR_DRAWING: 68,
  INVALIDATE_AVATAR_TITLE: 69,
  LEVEL_UP: 70,
  SET_FAVOR_NOTE_FILE: 71,
  GET_SITE_YELLS: 72,
  SET_LANGUAGE: 73,
  VALVE_COMMENT: 74,
  ABILITY_UP: 75,
  CLOSE: 76,
  UNAVAILABLE_DATE: 77,
  AVATAR_EDGE: 78,
  INVALIDATE_AVATAR_EDGE: 79,
  FAILED_VALIDATE_TOTEM: 80,
  MODIFY_SITE_YELL: 81,
  WIPE_SITE_YELL: 82,
  ALREADY_LOADING_BUNDLE: 83,
  SET_FAVOR: 84,
  SET_AUTO_SITE_HAND: 85,
  SET_AVATAR_GROUP: 86,
  POST_ITEM: 87,
  SET_VALID_NET_MODE: 88,
  SET_ALLOWED_POSTABLE_ITEMS: 89
};


/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.TwilightCallNet.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.Event.TwilightCallNet.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightCallNet.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.Event.TwilightCallNet} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightCallNet.toObject = function(includeInstance, msg) {
  var f, obj = {
    handlerid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    dataList: jspb.Message.toObjectList(msg.getDataList(),
    proto.Event.TwilightCallNet.CallNetItem.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.Event.TwilightCallNet}
 */
proto.Event.TwilightCallNet.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.Event.TwilightCallNet;
  return proto.Event.TwilightCallNet.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightCallNet} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightCallNet}
 */
proto.Event.TwilightCallNet.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.setHandlerid(value);
      break;
    case 2:
      var value = new proto.Event.TwilightCallNet.CallNetItem;
      reader.readMessage(value,proto.Event.TwilightCallNet.CallNetItem.deserializeBinaryFromReader);
      msg.addData(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightCallNet} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightCallNet.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getDataList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      2,
      f,
      proto.Event.TwilightCallNet.CallNetItem.serializeBinaryToWriter
    );
  }
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.TwilightCallNet.CallNetItem.repeatedFields_ = [12];



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.Event.TwilightCallNet.CallNetItem.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightCallNet.CallNetItem.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.Event.TwilightCallNet.CallNetItem} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightCallNet.CallNetItem.toObject = function(includeInstance, msg) {
  var f, obj = {
    avatarnetstatus: jspb.Message.getFieldWithDefault(msg, 1, 0),
    avatarid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    avatarname: jspb.Message.getFieldWithDefault(msg, 3, ""),
    stand: jspb.Message.getFieldWithDefault(msg, 4, 0),
    band: jspb.Message.getFieldWithDefault(msg, 5, 0),
    point: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
    hitpoints: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
    isfailed: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
    lastjudged: jspb.Message.getFieldWithDefault(msg, 9, 0),
    hitpointsmode: jspb.Message.getFieldWithDefault(msg, 10, 0),
    targetposition: jspb.Message.getFieldWithDefault(msg, 11, 0),
    drawingsList: jspb.Message.toObjectList(msg.getDrawingsList(),
    proto.Event.NetDrawing.toObject, includeInstance),
    drawingcomponent: (f = msg.getDrawingcomponent()) && proto.Event.DrawingComponent.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.Event.TwilightCallNet.CallNetItem}
 */
proto.Event.TwilightCallNet.CallNetItem.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.Event.TwilightCallNet.CallNetItem;
  return proto.Event.TwilightCallNet.CallNetItem.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightCallNet.CallNetItem} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightCallNet.CallNetItem}
 */
proto.Event.TwilightCallNet.CallNetItem.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.Event.AvatarNetStatus} */ (reader.readEnum());
      msg.setAvatarnetstatus(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setAvatarid(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setAvatarname(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setStand(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setBand(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setPoint(value);
      break;
    case 7:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHitpoints(value);
      break;
    case 8:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setIsfailed(value);
      break;
    case 9:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLastjudged(value);
      break;
    case 10:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setHitpointsmode(value);
      break;
    case 11:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setTargetposition(value);
      break;
    case 12:
      var value = new proto.Event.NetDrawing;
      reader.readMessage(value,proto.Event.NetDrawing.deserializeBinaryFromReader);
      msg.addDrawings(value);
      break;
    case 13:
      var value = new proto.Event.DrawingComponent;
      reader.readMessage(value,proto.Event.DrawingComponent.deserializeBinaryFromReader);
      msg.setDrawingcomponent(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightCallNet.CallNetItem} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightCallNet.CallNetItem.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAvatarnetstatus();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getAvatarid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getAvatarname();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getStand();
  if (f !== 0) {
    writer.writeInt32(
      4,
      f
    );
  }
  f = message.getBand();
  if (f !== 0) {
    writer.writeInt32(
      5,
      f
    );
  }
  f = message.getPoint();
  if (f !== 0.0) {
    writer.writeDouble(
      6,
      f
    );
  }
  f = message.getHitpoints();
  if (f !== 0.0) {
    writer.writeDouble(
      7,
      f
    );
  }
  f = message.getIsfailed();
  if (f) {
    writer.writeBool(
      8,
      f
    );
  }
  f = message.getLastjudged();
  if (f !== 0) {
    writer.writeInt32(
      9,
      f
    );
  }
  f = message.getHitpointsmode();
  if (f !== 0) {
    writer.writeInt32(
      10,
      f
    );
  }
  f = message.getTargetposition();
  if (f !== 0) {
    writer.writeInt32(
      11,
      f
    );
  }
  f = message.getDrawingsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      12,
      f,
      proto.Event.NetDrawing.serializeBinaryToWriter
    );
  }
  f = message.getDrawingcomponent();
  if (f != null) {
    writer.writeMessage(
      13,
      f,
      proto.Event.DrawingComponent.serializeBinaryToWriter
    );
  }
};


/**
 * optional AvatarNetStatus avatarNetStatus = 1;
 * @return {!proto.Event.AvatarNetStatus}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getAvatarnetstatus = function() {
  return /** @type {!proto.Event.AvatarNetStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.Event.AvatarNetStatus} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setAvatarnetstatus = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional string avatarID = 2;
 * @return {string}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getAvatarid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setAvatarid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional string avatarName = 3;
 * @return {string}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getAvatarname = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setAvatarname = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional int32 stand = 4;
 * @return {number}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getStand = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setStand = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};


/**
 * optional int32 band = 5;
 * @return {number}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getBand = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setBand = function(value) {
  return jspb.Message.setProto3IntField(this, 5, value);
};


/**
 * optional double point = 6;
 * @return {number}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getPoint = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setPoint = function(value) {
  return jspb.Message.setProto3FloatField(this, 6, value);
};


/**
 * optional double hitPoints = 7;
 * @return {number}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getHitpoints = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setHitpoints = function(value) {
  return jspb.Message.setProto3FloatField(this, 7, value);
};


/**
 * optional bool isFailed = 8;
 * @return {boolean}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getIsfailed = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
};


/**
 * @param {boolean} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setIsfailed = function(value) {
  return jspb.Message.setProto3BooleanField(this, 8, value);
};


/**
 * optional int32 lastJudged = 9;
 * @return {number}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getLastjudged = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setLastjudged = function(value) {
  return jspb.Message.setProto3IntField(this, 9, value);
};


/**
 * optional int32 hitPointsMode = 10;
 * @return {number}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getHitpointsmode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setHitpointsmode = function(value) {
  return jspb.Message.setProto3IntField(this, 10, value);
};


/**
 * optional int32 targetPosition = 11;
 * @return {number}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getTargetposition = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.setTargetposition = function(value) {
  return jspb.Message.setProto3IntField(this, 11, value);
};


/**
 * repeated NetDrawing drawings = 12;
 * @return {!Array<!proto.Event.NetDrawing>}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getDrawingsList = function() {
  return /** @type{!Array<!proto.Event.NetDrawing>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.Event.NetDrawing, 12));
};


/**
 * @param {!Array<!proto.Event.NetDrawing>} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
*/
proto.Event.TwilightCallNet.CallNetItem.prototype.setDrawingsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 12, value);
};


/**
 * @param {!proto.Event.NetDrawing=} opt_value
 * @param {number=} opt_index
 * @return {!proto.Event.NetDrawing}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.addDrawings = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.Event.NetDrawing, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.clearDrawingsList = function() {
  return this.setDrawingsList([]);
};


/**
 * optional DrawingComponent drawingComponent = 13;
 * @return {?proto.Event.DrawingComponent}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.getDrawingcomponent = function() {
  return /** @type{?proto.Event.DrawingComponent} */ (
    jspb.Message.getWrapperField(this, proto.Event.DrawingComponent, 13));
};


/**
 * @param {?proto.Event.DrawingComponent|undefined} value
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
*/
proto.Event.TwilightCallNet.CallNetItem.prototype.setDrawingcomponent = function(value) {
  return jspb.Message.setWrapperField(this, 13, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event.TwilightCallNet.CallNetItem} returns this
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.clearDrawingcomponent = function() {
  return this.setDrawingcomponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.TwilightCallNet.CallNetItem.prototype.hasDrawingcomponent = function() {
  return jspb.Message.getField(this, 13) != null;
};


/**
 * optional string handlerID = 1;
 * @return {string}
 */
proto.Event.TwilightCallNet.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightCallNet} returns this
 */
proto.Event.TwilightCallNet.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * repeated CallNetItem data = 2;
 * @return {!Array<!proto.Event.TwilightCallNet.CallNetItem>}
 */
proto.Event.TwilightCallNet.prototype.getDataList = function() {
  return /** @type{!Array<!proto.Event.TwilightCallNet.CallNetItem>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.Event.TwilightCallNet.CallNetItem, 2));
};


/**
 * @param {!Array<!proto.Event.TwilightCallNet.CallNetItem>} value
 * @return {!proto.Event.TwilightCallNet} returns this
*/
proto.Event.TwilightCallNet.prototype.setDataList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
};


/**
 * @param {!proto.Event.TwilightCallNet.CallNetItem=} opt_value
 * @param {number=} opt_index
 * @return {!proto.Event.TwilightCallNet.CallNetItem}
 */
proto.Event.TwilightCallNet.prototype.addData = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Event.TwilightCallNet.CallNetItem, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.TwilightCallNet} returns this
 */
proto.Event.TwilightCallNet.prototype.clearDataList = function() {
  return this.setDataList([]);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.QwilightCallNet.repeatedFields_ = [10];



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.Event.QwilightCallNet.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.QwilightCallNet.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.Event.QwilightCallNet} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightCallNet.toObject = function(includeInstance, msg) {
  var f, obj = {
    siteid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    handlerid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    avatarnetstatus: jspb.Message.getFieldWithDefault(msg, 3, 0),
    stand: jspb.Message.getFieldWithDefault(msg, 4, 0),
    highestband: jspb.Message.getFieldWithDefault(msg, 5, 0),
    point: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
    hitpoints: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
    isfailed: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
    lastjudged: jspb.Message.getFieldWithDefault(msg, 9, 0),
    drawingsList: jspb.Message.toObjectList(msg.getDrawingsList(),
    proto.Event.NetDrawing.toObject, includeInstance),
    drawingcomponent: (f = msg.getDrawingcomponent()) && proto.Event.DrawingComponent.toObject(includeInstance, f),
    title: jspb.Message.getFieldWithDefault(msg, 12, ""),
    artist: jspb.Message.getFieldWithDefault(msg, 13, ""),
    genre: jspb.Message.getFieldWithDefault(msg, 14, ""),
    level: jspb.Message.getFieldWithDefault(msg, 15, 0),
    leveltext: jspb.Message.getFieldWithDefault(msg, 16, ""),
    wantlevelid: jspb.Message.getFieldWithDefault(msg, 17, ""),
    automode: jspb.Message.getFieldWithDefault(msg, 18, 0),
    notesaltmode: jspb.Message.getFieldWithDefault(msg, 19, 0),
    audiomultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0),
    faintnotemode: jspb.Message.getFieldWithDefault(msg, 21, 0),
    judgmentmode: jspb.Message.getFieldWithDefault(msg, 22, 0),
    hitpointsmode: jspb.Message.getFieldWithDefault(msg, 23, 0),
    notemobilitymode: jspb.Message.getFieldWithDefault(msg, 24, 0),
    longnotemode: jspb.Message.getFieldWithDefault(msg, 25, 0),
    inputfavormode: jspb.Message.getFieldWithDefault(msg, 26, 0),
    notemodifymode: jspb.Message.getFieldWithDefault(msg, 27, 0),
    bpmmode: jspb.Message.getFieldWithDefault(msg, 28, 0),
    wavemode: jspb.Message.getFieldWithDefault(msg, 29, 0),
    setnotemode: jspb.Message.getFieldWithDefault(msg, 30, 0),
    lowestjudgmentconditionmode: jspb.Message.getFieldWithDefault(msg, 31, 0),
    totalnotes: jspb.Message.getFieldWithDefault(msg, 32, 0),
    judgmentstage: jspb.Message.getFloatingPointFieldWithDefault(msg, 33, 0.0),
    hitpointsvalue: jspb.Message.getFloatingPointFieldWithDefault(msg, 34, 0.0),
    highestinputcount: jspb.Message.getFieldWithDefault(msg, 35, 0),
    length: jspb.Message.getFloatingPointFieldWithDefault(msg, 36, 0.0),
    bpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 37, 0.0),
    multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 38, 0.0),
    inputmode: jspb.Message.getFieldWithDefault(msg, 39, 0),
    highestjudgment0: jspb.Message.getFloatingPointFieldWithDefault(msg, 40, 0.0),
    higherjudgment0: jspb.Message.getFloatingPointFieldWithDefault(msg, 41, 0.0),
    highjudgment0: jspb.Message.getFloatingPointFieldWithDefault(msg, 42, 0.0),
    lowjudgment0: jspb.Message.getFloatingPointFieldWithDefault(msg, 43, 0.0),
    lowerjudgment0: jspb.Message.getFloatingPointFieldWithDefault(msg, 44, 0.0),
    lowestjudgment0: jspb.Message.getFloatingPointFieldWithDefault(msg, 45, 0.0),
    highestjudgment1: jspb.Message.getFloatingPointFieldWithDefault(msg, 46, 0.0),
    higherjudgment1: jspb.Message.getFloatingPointFieldWithDefault(msg, 47, 0.0),
    highjudgment1: jspb.Message.getFloatingPointFieldWithDefault(msg, 48, 0.0),
    lowjudgment1: jspb.Message.getFloatingPointFieldWithDefault(msg, 49, 0.0),
    lowerjudgment1: jspb.Message.getFloatingPointFieldWithDefault(msg, 50, 0.0),
    lowestjudgment1: jspb.Message.getFloatingPointFieldWithDefault(msg, 51, 0.0),
    highestjudgment: jspb.Message.getFieldWithDefault(msg, 52, 0),
    higherjudgment: jspb.Message.getFieldWithDefault(msg, 53, 0),
    highjudgment: jspb.Message.getFieldWithDefault(msg, 54, 0),
    lowjudgment: jspb.Message.getFieldWithDefault(msg, 55, 0),
    lowerjudgment: jspb.Message.getFieldWithDefault(msg, 56, 0),
    lowestjudgment: jspb.Message.getFieldWithDefault(msg, 57, 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.Event.QwilightCallNet}
 */
proto.Event.QwilightCallNet.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.Event.QwilightCallNet;
  return proto.Event.QwilightCallNet.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.QwilightCallNet} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.QwilightCallNet}
 */
proto.Event.QwilightCallNet.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSiteid(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHandlerid(value);
      break;
    case 3:
      var value = /** @type {!proto.Event.AvatarNetStatus} */ (reader.readEnum());
      msg.setAvatarnetstatus(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setStand(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setHighestband(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setPoint(value);
      break;
    case 7:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHitpoints(value);
      break;
    case 8:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setIsfailed(value);
      break;
    case 9:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLastjudged(value);
      break;
    case 10:
      var value = new proto.Event.NetDrawing;
      reader.readMessage(value,proto.Event.NetDrawing.deserializeBinaryFromReader);
      msg.addDrawings(value);
      break;
    case 11:
      var value = new proto.Event.DrawingComponent;
      reader.readMessage(value,proto.Event.DrawingComponent.deserializeBinaryFromReader);
      msg.setDrawingcomponent(value);
      break;
    case 12:
      var value = /** @type {string} */ (reader.readString());
      msg.setTitle(value);
      break;
    case 13:
      var value = /** @type {string} */ (reader.readString());
      msg.setArtist(value);
      break;
    case 14:
      var value = /** @type {string} */ (reader.readString());
      msg.setGenre(value);
      break;
    case 15:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLevel(value);
      break;
    case 16:
      var value = /** @type {string} */ (reader.readString());
      msg.setLeveltext(value);
      break;
    case 17:
      var value = /** @type {string} */ (reader.readString());
      msg.setWantlevelid(value);
      break;
    case 18:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setAutomode(value);
      break;
    case 19:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setNotesaltmode(value);
      break;
    case 20:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setAudiomultiplier(value);
      break;
    case 21:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setFaintnotemode(value);
      break;
    case 22:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setJudgmentmode(value);
      break;
    case 23:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setHitpointsmode(value);
      break;
    case 24:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setNotemobilitymode(value);
      break;
    case 25:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLongnotemode(value);
      break;
    case 26:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setInputfavormode(value);
      break;
    case 27:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setNotemodifymode(value);
      break;
    case 28:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setBpmmode(value);
      break;
    case 29:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setWavemode(value);
      break;
    case 30:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setSetnotemode(value);
      break;
    case 31:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLowestjudgmentconditionmode(value);
      break;
    case 32:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setTotalnotes(value);
      break;
    case 33:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setJudgmentstage(value);
      break;
    case 34:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHitpointsvalue(value);
      break;
    case 35:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setHighestinputcount(value);
      break;
    case 36:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLength(value);
      break;
    case 37:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setBpm(value);
      break;
    case 38:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setMultiplier(value);
      break;
    case 39:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setInputmode(value);
      break;
    case 40:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHighestjudgment0(value);
      break;
    case 41:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHigherjudgment0(value);
      break;
    case 42:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHighjudgment0(value);
      break;
    case 43:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLowjudgment0(value);
      break;
    case 44:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLowerjudgment0(value);
      break;
    case 45:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLowestjudgment0(value);
      break;
    case 46:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHighestjudgment1(value);
      break;
    case 47:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHigherjudgment1(value);
      break;
    case 48:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHighjudgment1(value);
      break;
    case 49:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLowjudgment1(value);
      break;
    case 50:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLowerjudgment1(value);
      break;
    case 51:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLowestjudgment1(value);
      break;
    case 52:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setHighestjudgment(value);
      break;
    case 53:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setHigherjudgment(value);
      break;
    case 54:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setHighjudgment(value);
      break;
    case 55:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLowjudgment(value);
      break;
    case 56:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLowerjudgment(value);
      break;
    case 57:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setLowestjudgment(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.QwilightCallNet} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightCallNet.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSiteid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getAvatarnetstatus();
  if (f !== 0.0) {
    writer.writeEnum(
      3,
      f
    );
  }
  f = message.getStand();
  if (f !== 0) {
    writer.writeInt32(
      4,
      f
    );
  }
  f = message.getHighestband();
  if (f !== 0) {
    writer.writeInt32(
      5,
      f
    );
  }
  f = message.getPoint();
  if (f !== 0.0) {
    writer.writeDouble(
      6,
      f
    );
  }
  f = message.getHitpoints();
  if (f !== 0.0) {
    writer.writeDouble(
      7,
      f
    );
  }
  f = message.getIsfailed();
  if (f) {
    writer.writeBool(
      8,
      f
    );
  }
  f = message.getLastjudged();
  if (f !== 0) {
    writer.writeInt32(
      9,
      f
    );
  }
  f = message.getDrawingsList();
  if (f.length > 0) {
    writer.writeRepeatedMessage(
      10,
      f,
      proto.Event.NetDrawing.serializeBinaryToWriter
    );
  }
  f = message.getDrawingcomponent();
  if (f != null) {
    writer.writeMessage(
      11,
      f,
      proto.Event.DrawingComponent.serializeBinaryToWriter
    );
  }
  f = message.getTitle();
  if (f.length > 0) {
    writer.writeString(
      12,
      f
    );
  }
  f = message.getArtist();
  if (f.length > 0) {
    writer.writeString(
      13,
      f
    );
  }
  f = message.getGenre();
  if (f.length > 0) {
    writer.writeString(
      14,
      f
    );
  }
  f = message.getLevel();
  if (f !== 0) {
    writer.writeInt32(
      15,
      f
    );
  }
  f = message.getLeveltext();
  if (f.length > 0) {
    writer.writeString(
      16,
      f
    );
  }
  f = message.getWantlevelid();
  if (f.length > 0) {
    writer.writeString(
      17,
      f
    );
  }
  f = message.getAutomode();
  if (f !== 0) {
    writer.writeInt32(
      18,
      f
    );
  }
  f = message.getNotesaltmode();
  if (f !== 0) {
    writer.writeInt32(
      19,
      f
    );
  }
  f = message.getAudiomultiplier();
  if (f !== 0.0) {
    writer.writeDouble(
      20,
      f
    );
  }
  f = message.getFaintnotemode();
  if (f !== 0) {
    writer.writeInt32(
      21,
      f
    );
  }
  f = message.getJudgmentmode();
  if (f !== 0) {
    writer.writeInt32(
      22,
      f
    );
  }
  f = message.getHitpointsmode();
  if (f !== 0) {
    writer.writeInt32(
      23,
      f
    );
  }
  f = message.getNotemobilitymode();
  if (f !== 0) {
    writer.writeInt32(
      24,
      f
    );
  }
  f = message.getLongnotemode();
  if (f !== 0) {
    writer.writeInt32(
      25,
      f
    );
  }
  f = message.getInputfavormode();
  if (f !== 0) {
    writer.writeInt32(
      26,
      f
    );
  }
  f = message.getNotemodifymode();
  if (f !== 0) {
    writer.writeInt32(
      27,
      f
    );
  }
  f = message.getBpmmode();
  if (f !== 0) {
    writer.writeInt32(
      28,
      f
    );
  }
  f = message.getWavemode();
  if (f !== 0) {
    writer.writeInt32(
      29,
      f
    );
  }
  f = message.getSetnotemode();
  if (f !== 0) {
    writer.writeInt32(
      30,
      f
    );
  }
  f = message.getLowestjudgmentconditionmode();
  if (f !== 0) {
    writer.writeInt32(
      31,
      f
    );
  }
  f = message.getTotalnotes();
  if (f !== 0) {
    writer.writeInt32(
      32,
      f
    );
  }
  f = message.getJudgmentstage();
  if (f !== 0.0) {
    writer.writeDouble(
      33,
      f
    );
  }
  f = message.getHitpointsvalue();
  if (f !== 0.0) {
    writer.writeDouble(
      34,
      f
    );
  }
  f = message.getHighestinputcount();
  if (f !== 0) {
    writer.writeInt32(
      35,
      f
    );
  }
  f = message.getLength();
  if (f !== 0.0) {
    writer.writeDouble(
      36,
      f
    );
  }
  f = message.getBpm();
  if (f !== 0.0) {
    writer.writeDouble(
      37,
      f
    );
  }
  f = message.getMultiplier();
  if (f !== 0.0) {
    writer.writeDouble(
      38,
      f
    );
  }
  f = message.getInputmode();
  if (f !== 0) {
    writer.writeInt32(
      39,
      f
    );
  }
  f = message.getHighestjudgment0();
  if (f !== 0.0) {
    writer.writeDouble(
      40,
      f
    );
  }
  f = message.getHigherjudgment0();
  if (f !== 0.0) {
    writer.writeDouble(
      41,
      f
    );
  }
  f = message.getHighjudgment0();
  if (f !== 0.0) {
    writer.writeDouble(
      42,
      f
    );
  }
  f = message.getLowjudgment0();
  if (f !== 0.0) {
    writer.writeDouble(
      43,
      f
    );
  }
  f = message.getLowerjudgment0();
  if (f !== 0.0) {
    writer.writeDouble(
      44,
      f
    );
  }
  f = message.getLowestjudgment0();
  if (f !== 0.0) {
    writer.writeDouble(
      45,
      f
    );
  }
  f = message.getHighestjudgment1();
  if (f !== 0.0) {
    writer.writeDouble(
      46,
      f
    );
  }
  f = message.getHigherjudgment1();
  if (f !== 0.0) {
    writer.writeDouble(
      47,
      f
    );
  }
  f = message.getHighjudgment1();
  if (f !== 0.0) {
    writer.writeDouble(
      48,
      f
    );
  }
  f = message.getLowjudgment1();
  if (f !== 0.0) {
    writer.writeDouble(
      49,
      f
    );
  }
  f = message.getLowerjudgment1();
  if (f !== 0.0) {
    writer.writeDouble(
      50,
      f
    );
  }
  f = message.getLowestjudgment1();
  if (f !== 0.0) {
    writer.writeDouble(
      51,
      f
    );
  }
  f = message.getHighestjudgment();
  if (f !== 0) {
    writer.writeInt32(
      52,
      f
    );
  }
  f = message.getHigherjudgment();
  if (f !== 0) {
    writer.writeInt32(
      53,
      f
    );
  }
  f = message.getHighjudgment();
  if (f !== 0) {
    writer.writeInt32(
      54,
      f
    );
  }
  f = message.getLowjudgment();
  if (f !== 0) {
    writer.writeInt32(
      55,
      f
    );
  }
  f = message.getLowerjudgment();
  if (f !== 0) {
    writer.writeInt32(
      56,
      f
    );
  }
  f = message.getLowestjudgment();
  if (f !== 0) {
    writer.writeInt32(
      57,
      f
    );
  }
};


/**
 * optional string siteID = 1;
 * @return {string}
 */
proto.Event.QwilightCallNet.prototype.getSiteid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setSiteid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string handlerID = 2;
 * @return {string}
 */
proto.Event.QwilightCallNet.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional AvatarNetStatus avatarNetStatus = 3;
 * @return {!proto.Event.AvatarNetStatus}
 */
proto.Event.QwilightCallNet.prototype.getAvatarnetstatus = function() {
  return /** @type {!proto.Event.AvatarNetStatus} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {!proto.Event.AvatarNetStatus} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setAvatarnetstatus = function(value) {
  return jspb.Message.setProto3EnumField(this, 3, value);
};


/**
 * optional int32 stand = 4;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getStand = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setStand = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};


/**
 * optional int32 highestBand = 5;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHighestband = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHighestband = function(value) {
  return jspb.Message.setProto3IntField(this, 5, value);
};


/**
 * optional double point = 6;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getPoint = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setPoint = function(value) {
  return jspb.Message.setProto3FloatField(this, 6, value);
};


/**
 * optional double hitPoints = 7;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHitpoints = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHitpoints = function(value) {
  return jspb.Message.setProto3FloatField(this, 7, value);
};


/**
 * optional bool isFailed = 8;
 * @return {boolean}
 */
proto.Event.QwilightCallNet.prototype.getIsfailed = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
};


/**
 * @param {boolean} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setIsfailed = function(value) {
  return jspb.Message.setProto3BooleanField(this, 8, value);
};


/**
 * optional int32 lastJudged = 9;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLastjudged = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLastjudged = function(value) {
  return jspb.Message.setProto3IntField(this, 9, value);
};


/**
 * repeated NetDrawing drawings = 10;
 * @return {!Array<!proto.Event.NetDrawing>}
 */
proto.Event.QwilightCallNet.prototype.getDrawingsList = function() {
  return /** @type{!Array<!proto.Event.NetDrawing>} */ (
    jspb.Message.getRepeatedWrapperField(this, proto.Event.NetDrawing, 10));
};


/**
 * @param {!Array<!proto.Event.NetDrawing>} value
 * @return {!proto.Event.QwilightCallNet} returns this
*/
proto.Event.QwilightCallNet.prototype.setDrawingsList = function(value) {
  return jspb.Message.setRepeatedWrapperField(this, 10, value);
};


/**
 * @param {!proto.Event.NetDrawing=} opt_value
 * @param {number=} opt_index
 * @return {!proto.Event.NetDrawing}
 */
proto.Event.QwilightCallNet.prototype.addDrawings = function(opt_value, opt_index) {
  return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.Event.NetDrawing, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.clearDrawingsList = function() {
  return this.setDrawingsList([]);
};


/**
 * optional DrawingComponent drawingComponent = 11;
 * @return {?proto.Event.DrawingComponent}
 */
proto.Event.QwilightCallNet.prototype.getDrawingcomponent = function() {
  return /** @type{?proto.Event.DrawingComponent} */ (
    jspb.Message.getWrapperField(this, proto.Event.DrawingComponent, 11));
};


/**
 * @param {?proto.Event.DrawingComponent|undefined} value
 * @return {!proto.Event.QwilightCallNet} returns this
*/
proto.Event.QwilightCallNet.prototype.setDrawingcomponent = function(value) {
  return jspb.Message.setWrapperField(this, 11, value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.clearDrawingcomponent = function() {
  return this.setDrawingcomponent(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.QwilightCallNet.prototype.hasDrawingcomponent = function() {
  return jspb.Message.getField(this, 11) != null;
};


/**
 * optional string title = 12;
 * @return {string}
 */
proto.Event.QwilightCallNet.prototype.getTitle = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setTitle = function(value) {
  return jspb.Message.setProto3StringField(this, 12, value);
};


/**
 * optional string artist = 13;
 * @return {string}
 */
proto.Event.QwilightCallNet.prototype.getArtist = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setArtist = function(value) {
  return jspb.Message.setProto3StringField(this, 13, value);
};


/**
 * optional string genre = 14;
 * @return {string}
 */
proto.Event.QwilightCallNet.prototype.getGenre = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setGenre = function(value) {
  return jspb.Message.setProto3StringField(this, 14, value);
};


/**
 * optional int32 level = 15;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLevel = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLevel = function(value) {
  return jspb.Message.setProto3IntField(this, 15, value);
};


/**
 * optional string levelText = 16;
 * @return {string}
 */
proto.Event.QwilightCallNet.prototype.getLeveltext = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLeveltext = function(value) {
  return jspb.Message.setProto3StringField(this, 16, value);
};


/**
 * optional string wantLevelID = 17;
 * @return {string}
 */
proto.Event.QwilightCallNet.prototype.getWantlevelid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setWantlevelid = function(value) {
  return jspb.Message.setProto3StringField(this, 17, value);
};


/**
 * optional int32 autoMode = 18;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getAutomode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setAutomode = function(value) {
  return jspb.Message.setProto3IntField(this, 18, value);
};


/**
 * optional int32 noteSaltMode = 19;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getNotesaltmode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setNotesaltmode = function(value) {
  return jspb.Message.setProto3IntField(this, 19, value);
};


/**
 * optional double audioMultiplier = 20;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getAudiomultiplier = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setAudiomultiplier = function(value) {
  return jspb.Message.setProto3FloatField(this, 20, value);
};


/**
 * optional int32 faintNoteMode = 21;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getFaintnotemode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setFaintnotemode = function(value) {
  return jspb.Message.setProto3IntField(this, 21, value);
};


/**
 * optional int32 judgmentMode = 22;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getJudgmentmode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setJudgmentmode = function(value) {
  return jspb.Message.setProto3IntField(this, 22, value);
};


/**
 * optional int32 hitPointsMode = 23;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHitpointsmode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHitpointsmode = function(value) {
  return jspb.Message.setProto3IntField(this, 23, value);
};


/**
 * optional int32 noteMobilityMode = 24;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getNotemobilitymode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setNotemobilitymode = function(value) {
  return jspb.Message.setProto3IntField(this, 24, value);
};


/**
 * optional int32 longNoteMode = 25;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLongnotemode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLongnotemode = function(value) {
  return jspb.Message.setProto3IntField(this, 25, value);
};


/**
 * optional int32 inputFavorMode = 26;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getInputfavormode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setInputfavormode = function(value) {
  return jspb.Message.setProto3IntField(this, 26, value);
};


/**
 * optional int32 noteModifyMode = 27;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getNotemodifymode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setNotemodifymode = function(value) {
  return jspb.Message.setProto3IntField(this, 27, value);
};


/**
 * optional int32 bpmMode = 28;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getBpmmode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 28, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setBpmmode = function(value) {
  return jspb.Message.setProto3IntField(this, 28, value);
};


/**
 * optional int32 waveMode = 29;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getWavemode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 29, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setWavemode = function(value) {
  return jspb.Message.setProto3IntField(this, 29, value);
};


/**
 * optional int32 setNoteMode = 30;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getSetnotemode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 30, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setSetnotemode = function(value) {
  return jspb.Message.setProto3IntField(this, 30, value);
};


/**
 * optional int32 lowestJudgmentConditionMode = 31;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowestjudgmentconditionmode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 31, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowestjudgmentconditionmode = function(value) {
  return jspb.Message.setProto3IntField(this, 31, value);
};


/**
 * optional int32 totalNotes = 32;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getTotalnotes = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 32, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setTotalnotes = function(value) {
  return jspb.Message.setProto3IntField(this, 32, value);
};


/**
 * optional double judgmentStage = 33;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getJudgmentstage = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 33, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setJudgmentstage = function(value) {
  return jspb.Message.setProto3FloatField(this, 33, value);
};


/**
 * optional double hitPointsValue = 34;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHitpointsvalue = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 34, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHitpointsvalue = function(value) {
  return jspb.Message.setProto3FloatField(this, 34, value);
};


/**
 * optional int32 highestInputCount = 35;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHighestinputcount = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 35, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHighestinputcount = function(value) {
  return jspb.Message.setProto3IntField(this, 35, value);
};


/**
 * optional double length = 36;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLength = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 36, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLength = function(value) {
  return jspb.Message.setProto3FloatField(this, 36, value);
};


/**
 * optional double bpm = 37;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getBpm = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 37, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setBpm = function(value) {
  return jspb.Message.setProto3FloatField(this, 37, value);
};


/**
 * optional double multiplier = 38;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getMultiplier = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 38, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setMultiplier = function(value) {
  return jspb.Message.setProto3FloatField(this, 38, value);
};


/**
 * optional int32 inputMode = 39;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getInputmode = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 39, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setInputmode = function(value) {
  return jspb.Message.setProto3IntField(this, 39, value);
};


/**
 * optional double highestJudgment0 = 40;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHighestjudgment0 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 40, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHighestjudgment0 = function(value) {
  return jspb.Message.setProto3FloatField(this, 40, value);
};


/**
 * optional double higherJudgment0 = 41;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHigherjudgment0 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 41, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHigherjudgment0 = function(value) {
  return jspb.Message.setProto3FloatField(this, 41, value);
};


/**
 * optional double highJudgment0 = 42;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHighjudgment0 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 42, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHighjudgment0 = function(value) {
  return jspb.Message.setProto3FloatField(this, 42, value);
};


/**
 * optional double lowJudgment0 = 43;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowjudgment0 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 43, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowjudgment0 = function(value) {
  return jspb.Message.setProto3FloatField(this, 43, value);
};


/**
 * optional double lowerJudgment0 = 44;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowerjudgment0 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 44, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowerjudgment0 = function(value) {
  return jspb.Message.setProto3FloatField(this, 44, value);
};


/**
 * optional double lowestJudgment0 = 45;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowestjudgment0 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 45, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowestjudgment0 = function(value) {
  return jspb.Message.setProto3FloatField(this, 45, value);
};


/**
 * optional double highestJudgment1 = 46;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHighestjudgment1 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 46, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHighestjudgment1 = function(value) {
  return jspb.Message.setProto3FloatField(this, 46, value);
};


/**
 * optional double higherJudgment1 = 47;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHigherjudgment1 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 47, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHigherjudgment1 = function(value) {
  return jspb.Message.setProto3FloatField(this, 47, value);
};


/**
 * optional double highJudgment1 = 48;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHighjudgment1 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 48, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHighjudgment1 = function(value) {
  return jspb.Message.setProto3FloatField(this, 48, value);
};


/**
 * optional double lowJudgment1 = 49;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowjudgment1 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 49, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowjudgment1 = function(value) {
  return jspb.Message.setProto3FloatField(this, 49, value);
};


/**
 * optional double lowerJudgment1 = 50;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowerjudgment1 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 50, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowerjudgment1 = function(value) {
  return jspb.Message.setProto3FloatField(this, 50, value);
};


/**
 * optional double lowestJudgment1 = 51;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowestjudgment1 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 51, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowestjudgment1 = function(value) {
  return jspb.Message.setProto3FloatField(this, 51, value);
};


/**
 * optional int32 highestJudgment = 52;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHighestjudgment = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 52, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHighestjudgment = function(value) {
  return jspb.Message.setProto3IntField(this, 52, value);
};


/**
 * optional int32 higherJudgment = 53;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHigherjudgment = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 53, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHigherjudgment = function(value) {
  return jspb.Message.setProto3IntField(this, 53, value);
};


/**
 * optional int32 highJudgment = 54;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getHighjudgment = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 54, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setHighjudgment = function(value) {
  return jspb.Message.setProto3IntField(this, 54, value);
};


/**
 * optional int32 lowJudgment = 55;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowjudgment = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 55, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowjudgment = function(value) {
  return jspb.Message.setProto3IntField(this, 55, value);
};


/**
 * optional int32 lowerJudgment = 56;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowerjudgment = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 56, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowerjudgment = function(value) {
  return jspb.Message.setProto3IntField(this, 56, value);
};


/**
 * optional int32 lowestJudgment = 57;
 * @return {number}
 */
proto.Event.QwilightCallNet.prototype.getLowestjudgment = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 57, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightCallNet} returns this
 */
proto.Event.QwilightCallNet.prototype.setLowestjudgment = function(value) {
  return jspb.Message.setProto3IntField(this, 57, 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.Event.NetDrawing.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.NetDrawing.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.Event.NetDrawing} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.NetDrawing.toObject = function(includeInstance, msg) {
  var f, obj = {
    drawingvariety: jspb.Message.getFieldWithDefault(msg, 1, 0),
    param: jspb.Message.getFieldWithDefault(msg, 2, 0),
    position0: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
    position1: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
    length: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
    height: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.NetDrawing} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.NetDrawing}
 */
proto.Event.NetDrawing.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {!proto.Event.NetDrawing.Variety} */ (reader.readEnum());
      msg.setDrawingvariety(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readUint32());
      msg.setParam(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setPosition0(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setPosition1(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLength(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHeight(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.NetDrawing} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.NetDrawing.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getDrawingvariety();
  if (f !== 0.0) {
    writer.writeEnum(
      1,
      f
    );
  }
  f = message.getParam();
  if (f !== 0) {
    writer.writeUint32(
      2,
      f
    );
  }
  f = message.getPosition0();
  if (f !== 0.0) {
    writer.writeDouble(
      3,
      f
    );
  }
  f = message.getPosition1();
  if (f !== 0.0) {
    writer.writeDouble(
      4,
      f
    );
  }
  f = message.getLength();
  if (f !== 0.0) {
    writer.writeDouble(
      5,
      f
    );
  }
  f = message.getHeight();
  if (f !== 0.0) {
    writer.writeDouble(
      6,
      f
    );
  }
};


/**
 * @enum {number}
 */
proto.Event.NetDrawing.Variety = {
  NOTE: 0,
  MAIN: 1,
  METER: 2
};

/**
 * optional Variety drawingVariety = 1;
 * @return {!proto.Event.NetDrawing.Variety}
 */
proto.Event.NetDrawing.prototype.getDrawingvariety = function() {
  return /** @type {!proto.Event.NetDrawing.Variety} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {!proto.Event.NetDrawing.Variety} value
 * @return {!proto.Event.NetDrawing} returns this
 */
proto.Event.NetDrawing.prototype.setDrawingvariety = function(value) {
  return jspb.Message.setProto3EnumField(this, 1, value);
};


/**
 * optional uint32 param = 2;
 * @return {number}
 */
proto.Event.NetDrawing.prototype.getParam = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.NetDrawing} returns this
 */
proto.Event.NetDrawing.prototype.setParam = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional double position0 = 3;
 * @return {number}
 */
proto.Event.NetDrawing.prototype.getPosition0 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.NetDrawing} returns this
 */
proto.Event.NetDrawing.prototype.setPosition0 = function(value) {
  return jspb.Message.setProto3FloatField(this, 3, value);
};


/**
 * optional double position1 = 4;
 * @return {number}
 */
proto.Event.NetDrawing.prototype.getPosition1 = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.NetDrawing} returns this
 */
proto.Event.NetDrawing.prototype.setPosition1 = function(value) {
  return jspb.Message.setProto3FloatField(this, 4, value);
};


/**
 * optional double length = 5;
 * @return {number}
 */
proto.Event.NetDrawing.prototype.getLength = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.NetDrawing} returns this
 */
proto.Event.NetDrawing.prototype.setLength = function(value) {
  return jspb.Message.setProto3FloatField(this, 5, value);
};


/**
 * optional double height = 6;
 * @return {number}
 */
proto.Event.NetDrawing.prototype.getHeight = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.NetDrawing} returns this
 */
proto.Event.NetDrawing.prototype.setHeight = function(value) {
  return jspb.Message.setProto3FloatField(this, 6, 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.Event.DrawingComponent.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.DrawingComponent.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.Event.DrawingComponent} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.DrawingComponent.toObject = function(includeInstance, msg) {
  var f, obj = {
    p2builtlength: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
    judgmentmainposition: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.DrawingComponent} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.DrawingComponent}
 */
proto.Event.DrawingComponent.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {number} */ (reader.readFloat());
      msg.setP2builtlength(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readFloat());
      msg.setJudgmentmainposition(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.DrawingComponent} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.DrawingComponent.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getP2builtlength();
  if (f !== 0.0) {
    writer.writeFloat(
      1,
      f
    );
  }
  f = message.getJudgmentmainposition();
  if (f !== 0.0) {
    writer.writeFloat(
      2,
      f
    );
  }
};


/**
 * optional float p2BuiltLength = 1;
 * @return {number}
 */
proto.Event.DrawingComponent.prototype.getP2builtlength = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.DrawingComponent} returns this
 */
proto.Event.DrawingComponent.prototype.setP2builtlength = function(value) {
  return jspb.Message.setProto3FloatField(this, 1, value);
};


/**
 * optional float judgmentMainPosition = 2;
 * @return {number}
 */
proto.Event.DrawingComponent.prototype.getJudgmentmainposition = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.DrawingComponent} returns this
 */
proto.Event.DrawingComponent.prototype.setJudgmentmainposition = function(value) {
  return jspb.Message.setProto3FloatField(this, 2, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.QwilightIOInput.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.Event.QwilightIOInput.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.QwilightIOInput.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.Event.QwilightIOInput} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOInput.toObject = function(includeInstance, msg) {
  var f, obj = {
    avataridsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
    handlerid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    input: jspb.Message.getFieldWithDefault(msg, 3, 0),
    power: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.QwilightIOInput} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.QwilightIOInput}
 */
proto.Event.QwilightIOInput.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.addAvatarids(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHandlerid(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setInput(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setPower(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.QwilightIOInput} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOInput.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAvataridsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      1,
      f
    );
  }
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getInput();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
  f = message.getPower();
  if (f !== 0) {
    writer.writeInt32(
      4,
      f
    );
  }
};


/**
 * repeated string avatarIDs = 1;
 * @return {!Array<string>}
 */
proto.Event.QwilightIOInput.prototype.getAvataridsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.Event.QwilightIOInput} returns this
 */
proto.Event.QwilightIOInput.prototype.setAvataridsList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.Event.QwilightIOInput} returns this
 */
proto.Event.QwilightIOInput.prototype.addAvatarids = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.QwilightIOInput} returns this
 */
proto.Event.QwilightIOInput.prototype.clearAvataridsList = function() {
  return this.setAvataridsList([]);
};


/**
 * optional string handlerID = 2;
 * @return {string}
 */
proto.Event.QwilightIOInput.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightIOInput} returns this
 */
proto.Event.QwilightIOInput.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional int32 input = 3;
 * @return {number}
 */
proto.Event.QwilightIOInput.prototype.getInput = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOInput} returns this
 */
proto.Event.QwilightIOInput.prototype.setInput = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional int32 power = 4;
 * @return {number}
 */
proto.Event.QwilightIOInput.prototype.getPower = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOInput} returns this
 */
proto.Event.QwilightIOInput.prototype.setPower = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.Event.TwilightIOInput.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightIOInput.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.Event.TwilightIOInput} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOInput.toObject = function(includeInstance, msg) {
  var f, obj = {
    handlerid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    input: jspb.Message.getFieldWithDefault(msg, 2, 0),
    power: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightIOInput} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightIOInput}
 */
proto.Event.TwilightIOInput.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.setHandlerid(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setInput(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setPower(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightIOInput} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOInput.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getInput();
  if (f !== 0) {
    writer.writeInt32(
      2,
      f
    );
  }
  f = message.getPower();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
};


/**
 * optional string handlerID = 1;
 * @return {string}
 */
proto.Event.TwilightIOInput.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightIOInput} returns this
 */
proto.Event.TwilightIOInput.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional int32 input = 2;
 * @return {number}
 */
proto.Event.TwilightIOInput.prototype.getInput = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOInput} returns this
 */
proto.Event.TwilightIOInput.prototype.setInput = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional int32 power = 3;
 * @return {number}
 */
proto.Event.TwilightIOInput.prototype.getPower = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOInput} returns this
 */
proto.Event.TwilightIOInput.prototype.setPower = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.QwilightIOJudge.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.Event.QwilightIOJudge.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.QwilightIOJudge.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.Event.QwilightIOJudge} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOJudge.toObject = function(includeInstance, msg) {
  var f, obj = {
    avataridsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
    handlerid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    noteid: jspb.Message.getFieldWithDefault(msg, 3, 0),
    judged: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.QwilightIOJudge} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.QwilightIOJudge}
 */
proto.Event.QwilightIOJudge.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.addAvatarids(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHandlerid(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setNoteid(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setJudged(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.QwilightIOJudge} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOJudge.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAvataridsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      1,
      f
    );
  }
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getNoteid();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
  f = message.getJudged();
  if (f !== 0) {
    writer.writeInt32(
      4,
      f
    );
  }
};


/**
 * repeated string avatarIDs = 1;
 * @return {!Array<string>}
 */
proto.Event.QwilightIOJudge.prototype.getAvataridsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.Event.QwilightIOJudge} returns this
 */
proto.Event.QwilightIOJudge.prototype.setAvataridsList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.Event.QwilightIOJudge} returns this
 */
proto.Event.QwilightIOJudge.prototype.addAvatarids = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.QwilightIOJudge} returns this
 */
proto.Event.QwilightIOJudge.prototype.clearAvataridsList = function() {
  return this.setAvataridsList([]);
};


/**
 * optional string handlerID = 2;
 * @return {string}
 */
proto.Event.QwilightIOJudge.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightIOJudge} returns this
 */
proto.Event.QwilightIOJudge.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional int32 noteID = 3;
 * @return {number}
 */
proto.Event.QwilightIOJudge.prototype.getNoteid = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOJudge} returns this
 */
proto.Event.QwilightIOJudge.prototype.setNoteid = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional int32 judged = 4;
 * @return {number}
 */
proto.Event.QwilightIOJudge.prototype.getJudged = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOJudge} returns this
 */
proto.Event.QwilightIOJudge.prototype.setJudged = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.Event.TwilightIOJudge.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightIOJudge.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.Event.TwilightIOJudge} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOJudge.toObject = function(includeInstance, msg) {
  var f, obj = {
    handlerid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    noteid: jspb.Message.getFieldWithDefault(msg, 2, 0),
    judged: jspb.Message.getFieldWithDefault(msg, 3, 0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightIOJudge} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightIOJudge}
 */
proto.Event.TwilightIOJudge.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.setHandlerid(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setNoteid(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setJudged(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightIOJudge} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOJudge.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getNoteid();
  if (f !== 0) {
    writer.writeInt32(
      2,
      f
    );
  }
  f = message.getJudged();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
};


/**
 * optional string handlerID = 1;
 * @return {string}
 */
proto.Event.TwilightIOJudge.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightIOJudge} returns this
 */
proto.Event.TwilightIOJudge.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional int32 noteID = 2;
 * @return {number}
 */
proto.Event.TwilightIOJudge.prototype.getNoteid = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOJudge} returns this
 */
proto.Event.TwilightIOJudge.prototype.setNoteid = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional int32 judged = 3;
 * @return {number}
 */
proto.Event.TwilightIOJudge.prototype.getJudged = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOJudge} returns this
 */
proto.Event.TwilightIOJudge.prototype.setJudged = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.QwilightIOJudgmentMeter.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.Event.QwilightIOJudgmentMeter.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.QwilightIOJudgmentMeter.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.Event.QwilightIOJudgmentMeter} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOJudgmentMeter.toObject = function(includeInstance, msg) {
  var f, obj = {
    avataridsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
    handlerid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    input: jspb.Message.getFieldWithDefault(msg, 3, 0),
    judgmentmeter: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
    assist: jspb.Message.getFieldWithDefault(msg, 5, 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.Event.QwilightIOJudgmentMeter}
 */
proto.Event.QwilightIOJudgmentMeter.deserializeBinary = function(bytes) {
  var reader = new jspb.BinaryReader(bytes);
  var msg = new proto.Event.QwilightIOJudgmentMeter;
  return proto.Event.QwilightIOJudgmentMeter.deserializeBinaryFromReader(msg, reader);
};


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.QwilightIOJudgmentMeter} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.QwilightIOJudgmentMeter}
 */
proto.Event.QwilightIOJudgmentMeter.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.addAvatarids(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHandlerid(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setInput(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setJudgmentmeter(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setAssist(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.QwilightIOJudgmentMeter} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOJudgmentMeter.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAvataridsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      1,
      f
    );
  }
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getInput();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
  f = message.getJudgmentmeter();
  if (f !== 0.0) {
    writer.writeDouble(
      4,
      f
    );
  }
  f = message.getAssist();
  if (f !== 0) {
    writer.writeInt32(
      5,
      f
    );
  }
};


/**
 * repeated string avatarIDs = 1;
 * @return {!Array<string>}
 */
proto.Event.QwilightIOJudgmentMeter.prototype.getAvataridsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.Event.QwilightIOJudgmentMeter} returns this
 */
proto.Event.QwilightIOJudgmentMeter.prototype.setAvataridsList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.Event.QwilightIOJudgmentMeter} returns this
 */
proto.Event.QwilightIOJudgmentMeter.prototype.addAvatarids = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.QwilightIOJudgmentMeter} returns this
 */
proto.Event.QwilightIOJudgmentMeter.prototype.clearAvataridsList = function() {
  return this.setAvataridsList([]);
};


/**
 * optional string handlerID = 2;
 * @return {string}
 */
proto.Event.QwilightIOJudgmentMeter.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightIOJudgmentMeter} returns this
 */
proto.Event.QwilightIOJudgmentMeter.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional int32 input = 3;
 * @return {number}
 */
proto.Event.QwilightIOJudgmentMeter.prototype.getInput = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOJudgmentMeter} returns this
 */
proto.Event.QwilightIOJudgmentMeter.prototype.setInput = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional double judgmentMeter = 4;
 * @return {number}
 */
proto.Event.QwilightIOJudgmentMeter.prototype.getJudgmentmeter = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOJudgmentMeter} returns this
 */
proto.Event.QwilightIOJudgmentMeter.prototype.setJudgmentmeter = function(value) {
  return jspb.Message.setProto3FloatField(this, 4, value);
};


/**
 * optional int32 assist = 5;
 * @return {number}
 */
proto.Event.QwilightIOJudgmentMeter.prototype.getAssist = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOJudgmentMeter} returns this
 */
proto.Event.QwilightIOJudgmentMeter.prototype.setAssist = function(value) {
  return jspb.Message.setProto3IntField(this, 5, 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.Event.TwilightIOJudgmentMeter.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightIOJudgmentMeter.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.Event.TwilightIOJudgmentMeter} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOJudgmentMeter.toObject = function(includeInstance, msg) {
  var f, obj = {
    handlerid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    input: jspb.Message.getFieldWithDefault(msg, 2, 0),
    judgmentmeter: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
    assist: jspb.Message.getFieldWithDefault(msg, 4, 0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightIOJudgmentMeter} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightIOJudgmentMeter}
 */
proto.Event.TwilightIOJudgmentMeter.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.setHandlerid(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setInput(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setJudgmentmeter(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setAssist(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightIOJudgmentMeter} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOJudgmentMeter.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getInput();
  if (f !== 0) {
    writer.writeInt32(
      2,
      f
    );
  }
  f = message.getJudgmentmeter();
  if (f !== 0.0) {
    writer.writeDouble(
      3,
      f
    );
  }
  f = message.getAssist();
  if (f !== 0) {
    writer.writeInt32(
      4,
      f
    );
  }
};


/**
 * optional string handlerID = 1;
 * @return {string}
 */
proto.Event.TwilightIOJudgmentMeter.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightIOJudgmentMeter} returns this
 */
proto.Event.TwilightIOJudgmentMeter.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional int32 input = 2;
 * @return {number}
 */
proto.Event.TwilightIOJudgmentMeter.prototype.getInput = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOJudgmentMeter} returns this
 */
proto.Event.TwilightIOJudgmentMeter.prototype.setInput = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional double judgmentMeter = 3;
 * @return {number}
 */
proto.Event.TwilightIOJudgmentMeter.prototype.getJudgmentmeter = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOJudgmentMeter} returns this
 */
proto.Event.TwilightIOJudgmentMeter.prototype.setJudgmentmeter = function(value) {
  return jspb.Message.setProto3FloatField(this, 3, value);
};


/**
 * optional int32 assist = 4;
 * @return {number}
 */
proto.Event.TwilightIOJudgmentMeter.prototype.getAssist = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOJudgmentMeter} returns this
 */
proto.Event.TwilightIOJudgmentMeter.prototype.setAssist = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.QwilightIONoteVisibility.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.Event.QwilightIONoteVisibility.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.QwilightIONoteVisibility.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.Event.QwilightIONoteVisibility} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIONoteVisibility.toObject = function(includeInstance, msg) {
  var f, obj = {
    avataridsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
    handlerid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    noteid: jspb.Message.getFieldWithDefault(msg, 3, 0),
    setvalidjudgednotes: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
    setnotefailed: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.QwilightIONoteVisibility} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.QwilightIONoteVisibility}
 */
proto.Event.QwilightIONoteVisibility.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.addAvatarids(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHandlerid(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setNoteid(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setSetvalidjudgednotes(value);
      break;
    case 5:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setSetnotefailed(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.QwilightIONoteVisibility} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIONoteVisibility.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAvataridsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      1,
      f
    );
  }
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getNoteid();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
  f = message.getSetvalidjudgednotes();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
  f = message.getSetnotefailed();
  if (f) {
    writer.writeBool(
      5,
      f
    );
  }
};


/**
 * repeated string avatarIDs = 1;
 * @return {!Array<string>}
 */
proto.Event.QwilightIONoteVisibility.prototype.getAvataridsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.Event.QwilightIONoteVisibility} returns this
 */
proto.Event.QwilightIONoteVisibility.prototype.setAvataridsList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.Event.QwilightIONoteVisibility} returns this
 */
proto.Event.QwilightIONoteVisibility.prototype.addAvatarids = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.QwilightIONoteVisibility} returns this
 */
proto.Event.QwilightIONoteVisibility.prototype.clearAvataridsList = function() {
  return this.setAvataridsList([]);
};


/**
 * optional string handlerID = 2;
 * @return {string}
 */
proto.Event.QwilightIONoteVisibility.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightIONoteVisibility} returns this
 */
proto.Event.QwilightIONoteVisibility.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional int32 noteID = 3;
 * @return {number}
 */
proto.Event.QwilightIONoteVisibility.prototype.getNoteid = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIONoteVisibility} returns this
 */
proto.Event.QwilightIONoteVisibility.prototype.setNoteid = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional bool setValidJudgedNotes = 4;
 * @return {boolean}
 */
proto.Event.QwilightIONoteVisibility.prototype.getSetvalidjudgednotes = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.Event.QwilightIONoteVisibility} returns this
 */
proto.Event.QwilightIONoteVisibility.prototype.setSetvalidjudgednotes = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};


/**
 * optional bool setNoteFailed = 5;
 * @return {boolean}
 */
proto.Event.QwilightIONoteVisibility.prototype.getSetnotefailed = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
};


/**
 * @param {boolean} value
 * @return {!proto.Event.QwilightIONoteVisibility} returns this
 */
proto.Event.QwilightIONoteVisibility.prototype.setSetnotefailed = function(value) {
  return jspb.Message.setProto3BooleanField(this, 5, 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.Event.TwilightIONoteVisibility.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightIONoteVisibility.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.Event.TwilightIONoteVisibility} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIONoteVisibility.toObject = function(includeInstance, msg) {
  var f, obj = {
    handlerid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    noteid: jspb.Message.getFieldWithDefault(msg, 2, 0),
    setvalidjudgednotes: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
    setnotefailed: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightIONoteVisibility} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightIONoteVisibility}
 */
proto.Event.TwilightIONoteVisibility.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.setHandlerid(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setNoteid(value);
      break;
    case 3:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setSetvalidjudgednotes(value);
      break;
    case 4:
      var value = /** @type {boolean} */ (reader.readBool());
      msg.setSetnotefailed(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightIONoteVisibility} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIONoteVisibility.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getNoteid();
  if (f !== 0) {
    writer.writeInt32(
      2,
      f
    );
  }
  f = message.getSetvalidjudgednotes();
  if (f) {
    writer.writeBool(
      3,
      f
    );
  }
  f = message.getSetnotefailed();
  if (f) {
    writer.writeBool(
      4,
      f
    );
  }
};


/**
 * optional string handlerID = 1;
 * @return {string}
 */
proto.Event.TwilightIONoteVisibility.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightIONoteVisibility} returns this
 */
proto.Event.TwilightIONoteVisibility.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional int32 noteID = 2;
 * @return {number}
 */
proto.Event.TwilightIONoteVisibility.prototype.getNoteid = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIONoteVisibility} returns this
 */
proto.Event.TwilightIONoteVisibility.prototype.setNoteid = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional bool setValidJudgedNotes = 3;
 * @return {boolean}
 */
proto.Event.TwilightIONoteVisibility.prototype.getSetvalidjudgednotes = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
 * @param {boolean} value
 * @return {!proto.Event.TwilightIONoteVisibility} returns this
 */
proto.Event.TwilightIONoteVisibility.prototype.setSetvalidjudgednotes = function(value) {
  return jspb.Message.setProto3BooleanField(this, 3, value);
};


/**
 * optional bool setNoteFailed = 4;
 * @return {boolean}
 */
proto.Event.TwilightIONoteVisibility.prototype.getSetnotefailed = function() {
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
};


/**
 * @param {boolean} value
 * @return {!proto.Event.TwilightIONoteVisibility} returns this
 */
proto.Event.TwilightIONoteVisibility.prototype.setSetnotefailed = function(value) {
  return jspb.Message.setProto3BooleanField(this, 4, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.QwilightIOMultiplier.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.Event.QwilightIOMultiplier.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.QwilightIOMultiplier.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.Event.QwilightIOMultiplier} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOMultiplier.toObject = function(includeInstance, msg) {
  var f, obj = {
    avataridsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
    handlerid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.QwilightIOMultiplier} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.QwilightIOMultiplier}
 */
proto.Event.QwilightIOMultiplier.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.addAvatarids(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHandlerid(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setMultiplier(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.QwilightIOMultiplier} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOMultiplier.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAvataridsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      1,
      f
    );
  }
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getMultiplier();
  if (f !== 0.0) {
    writer.writeDouble(
      3,
      f
    );
  }
};


/**
 * repeated string avatarIDs = 1;
 * @return {!Array<string>}
 */
proto.Event.QwilightIOMultiplier.prototype.getAvataridsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.Event.QwilightIOMultiplier} returns this
 */
proto.Event.QwilightIOMultiplier.prototype.setAvataridsList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.Event.QwilightIOMultiplier} returns this
 */
proto.Event.QwilightIOMultiplier.prototype.addAvatarids = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.QwilightIOMultiplier} returns this
 */
proto.Event.QwilightIOMultiplier.prototype.clearAvataridsList = function() {
  return this.setAvataridsList([]);
};


/**
 * optional string handlerID = 2;
 * @return {string}
 */
proto.Event.QwilightIOMultiplier.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightIOMultiplier} returns this
 */
proto.Event.QwilightIOMultiplier.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional double multiplier = 3;
 * @return {number}
 */
proto.Event.QwilightIOMultiplier.prototype.getMultiplier = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOMultiplier} returns this
 */
proto.Event.QwilightIOMultiplier.prototype.setMultiplier = function(value) {
  return jspb.Message.setProto3FloatField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.Event.TwilightIOMultiplier.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightIOMultiplier.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.Event.TwilightIOMultiplier} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOMultiplier.toObject = function(includeInstance, msg) {
  var f, obj = {
    handlerid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightIOMultiplier} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightIOMultiplier}
 */
proto.Event.TwilightIOMultiplier.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.setHandlerid(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setMultiplier(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightIOMultiplier} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOMultiplier.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getMultiplier();
  if (f !== 0.0) {
    writer.writeDouble(
      2,
      f
    );
  }
};


/**
 * optional string handlerID = 1;
 * @return {string}
 */
proto.Event.TwilightIOMultiplier.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightIOMultiplier} returns this
 */
proto.Event.TwilightIOMultiplier.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional double multiplier = 2;
 * @return {number}
 */
proto.Event.TwilightIOMultiplier.prototype.getMultiplier = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOMultiplier} returns this
 */
proto.Event.TwilightIOMultiplier.prototype.setMultiplier = function(value) {
  return jspb.Message.setProto3FloatField(this, 2, value);
};



/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.Event.QwilightIOAudioMultiplier.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.Event.QwilightIOAudioMultiplier.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.QwilightIOAudioMultiplier.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.Event.QwilightIOAudioMultiplier} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOAudioMultiplier.toObject = function(includeInstance, msg) {
  var f, obj = {
    avataridsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
    handlerid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    audiomultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.QwilightIOAudioMultiplier} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.QwilightIOAudioMultiplier}
 */
proto.Event.QwilightIOAudioMultiplier.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.addAvatarids(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHandlerid(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setAudiomultiplier(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.QwilightIOAudioMultiplier} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightIOAudioMultiplier.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getAvataridsList();
  if (f.length > 0) {
    writer.writeRepeatedString(
      1,
      f
    );
  }
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getAudiomultiplier();
  if (f !== 0.0) {
    writer.writeDouble(
      3,
      f
    );
  }
};


/**
 * repeated string avatarIDs = 1;
 * @return {!Array<string>}
 */
proto.Event.QwilightIOAudioMultiplier.prototype.getAvataridsList = function() {
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
};


/**
 * @param {!Array<string>} value
 * @return {!proto.Event.QwilightIOAudioMultiplier} returns this
 */
proto.Event.QwilightIOAudioMultiplier.prototype.setAvataridsList = function(value) {
  return jspb.Message.setField(this, 1, value || []);
};


/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.Event.QwilightIOAudioMultiplier} returns this
 */
proto.Event.QwilightIOAudioMultiplier.prototype.addAvatarids = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event.QwilightIOAudioMultiplier} returns this
 */
proto.Event.QwilightIOAudioMultiplier.prototype.clearAvataridsList = function() {
  return this.setAvataridsList([]);
};


/**
 * optional string handlerID = 2;
 * @return {string}
 */
proto.Event.QwilightIOAudioMultiplier.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightIOAudioMultiplier} returns this
 */
proto.Event.QwilightIOAudioMultiplier.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional double audioMultiplier = 3;
 * @return {number}
 */
proto.Event.QwilightIOAudioMultiplier.prototype.getAudiomultiplier = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightIOAudioMultiplier} returns this
 */
proto.Event.QwilightIOAudioMultiplier.prototype.setAudiomultiplier = function(value) {
  return jspb.Message.setProto3FloatField(this, 3, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.Event.TwilightIOAudioMultiplier.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightIOAudioMultiplier.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.Event.TwilightIOAudioMultiplier} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOAudioMultiplier.toObject = function(includeInstance, msg) {
  var f, obj = {
    handlerid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    audiomultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightIOAudioMultiplier} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightIOAudioMultiplier}
 */
proto.Event.TwilightIOAudioMultiplier.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.setHandlerid(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setAudiomultiplier(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightIOAudioMultiplier} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightIOAudioMultiplier.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getAudiomultiplier();
  if (f !== 0.0) {
    writer.writeDouble(
      2,
      f
    );
  }
};


/**
 * optional string handlerID = 1;
 * @return {string}
 */
proto.Event.TwilightIOAudioMultiplier.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightIOAudioMultiplier} returns this
 */
proto.Event.TwilightIOAudioMultiplier.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional double audioMultiplier = 2;
 * @return {number}
 */
proto.Event.TwilightIOAudioMultiplier.prototype.getAudiomultiplier = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightIOAudioMultiplier} returns this
 */
proto.Event.TwilightIOAudioMultiplier.prototype.setAudiomultiplier = function(value) {
  return jspb.Message.setProto3FloatField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.Event.TwilightAudioInput.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightAudioInput.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.Event.TwilightAudioInput} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightAudioInput.toObject = function(includeInstance, msg) {
  var f, obj = {
    siteid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    avatarid: jspb.Message.getFieldWithDefault(msg, 2, "")
  };

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


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


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


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


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


/**
 * optional string siteID = 1;
 * @return {string}
 */
proto.Event.TwilightAudioInput.prototype.getSiteid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightAudioInput} returns this
 */
proto.Event.TwilightAudioInput.prototype.setSiteid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string avatarID = 2;
 * @return {string}
 */
proto.Event.TwilightAudioInput.prototype.getAvatarid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightAudioInput} returns this
 */
proto.Event.TwilightAudioInput.prototype.setAvatarid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};





if (jspb.Message.GENERATE_TO_OBJECT) {
/**
 * Creates an object representation of this proto.
 * Field names that are reserved in JavaScript and will be renamed to pb_name.
 * Optional fields that are not set will be set to undefined.
 * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
 * For the list of reserved names please see:
 *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
 * @param {boolean=} opt_includeInstance Deprecated. whether to include the
 *     JSPB instance for transitional soy proto support:
 *     http://goto/soy-param-migration
 * @return {!Object}
 */
proto.Event.QwilightPostItem.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.QwilightPostItem.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.Event.QwilightPostItem} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightPostItem.toObject = function(includeInstance, msg) {
  var f, obj = {
    siteid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    handlerid: jspb.Message.getFieldWithDefault(msg, 2, ""),
    posteditem: jspb.Message.getFieldWithDefault(msg, 3, 0),
    ispositive: jspb.Message.getFieldWithDefault(msg, 4, 0),
    lowestwait: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
    highestwait: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.QwilightPostItem} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.QwilightPostItem}
 */
proto.Event.QwilightPostItem.deserializeBinaryFromReader = function(msg, reader) {
  while (reader.nextField()) {
    if (reader.isEndGroup()) {
      break;
    }
    var field = reader.getFieldNumber();
    switch (field) {
    case 1:
      var value = /** @type {string} */ (reader.readString());
      msg.setSiteid(value);
      break;
    case 2:
      var value = /** @type {string} */ (reader.readString());
      msg.setHandlerid(value);
      break;
    case 3:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setPosteditem(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setIspositive(value);
      break;
    case 5:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setLowestwait(value);
      break;
    case 6:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setHighestwait(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.QwilightPostItem} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.QwilightPostItem.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getSiteid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      2,
      f
    );
  }
  f = message.getPosteditem();
  if (f !== 0) {
    writer.writeInt32(
      3,
      f
    );
  }
  f = message.getIspositive();
  if (f !== 0) {
    writer.writeInt32(
      4,
      f
    );
  }
  f = message.getLowestwait();
  if (f !== 0.0) {
    writer.writeDouble(
      5,
      f
    );
  }
  f = message.getHighestwait();
  if (f !== 0.0) {
    writer.writeDouble(
      6,
      f
    );
  }
};


/**
 * optional string siteID = 1;
 * @return {string}
 */
proto.Event.QwilightPostItem.prototype.getSiteid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightPostItem} returns this
 */
proto.Event.QwilightPostItem.prototype.setSiteid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional string handlerID = 2;
 * @return {string}
 */
proto.Event.QwilightPostItem.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.QwilightPostItem} returns this
 */
proto.Event.QwilightPostItem.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional int32 postedItem = 3;
 * @return {number}
 */
proto.Event.QwilightPostItem.prototype.getPosteditem = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightPostItem} returns this
 */
proto.Event.QwilightPostItem.prototype.setPosteditem = function(value) {
  return jspb.Message.setProto3IntField(this, 3, value);
};


/**
 * optional int32 isPositive = 4;
 * @return {number}
 */
proto.Event.QwilightPostItem.prototype.getIspositive = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightPostItem} returns this
 */
proto.Event.QwilightPostItem.prototype.setIspositive = function(value) {
  return jspb.Message.setProto3IntField(this, 4, value);
};


/**
 * optional double lowestWait = 5;
 * @return {number}
 */
proto.Event.QwilightPostItem.prototype.getLowestwait = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightPostItem} returns this
 */
proto.Event.QwilightPostItem.prototype.setLowestwait = function(value) {
  return jspb.Message.setProto3FloatField(this, 5, value);
};


/**
 * optional double highestWait = 6;
 * @return {number}
 */
proto.Event.QwilightPostItem.prototype.getHighestwait = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.QwilightPostItem} returns this
 */
proto.Event.QwilightPostItem.prototype.setHighestwait = function(value) {
  return jspb.Message.setProto3FloatField(this, 6, 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.Event.TwilightPostItem.prototype.toObject = function(opt_includeInstance) {
  return proto.Event.TwilightPostItem.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.Event.TwilightPostItem} msg The msg instance to transform.
 * @return {!Object}
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightPostItem.toObject = function(includeInstance, msg) {
  var f, obj = {
    handlerid: jspb.Message.getFieldWithDefault(msg, 1, ""),
    posteditem: jspb.Message.getFieldWithDefault(msg, 2, 0),
    avatarname: jspb.Message.getFieldWithDefault(msg, 3, ""),
    wait: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
  };

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


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


/**
 * Deserializes binary data (in protobuf wire format) from the
 * given reader into the given message object.
 * @param {!proto.Event.TwilightPostItem} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.Event.TwilightPostItem}
 */
proto.Event.TwilightPostItem.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.setHandlerid(value);
      break;
    case 2:
      var value = /** @type {number} */ (reader.readInt32());
      msg.setPosteditem(value);
      break;
    case 3:
      var value = /** @type {string} */ (reader.readString());
      msg.setAvatarname(value);
      break;
    case 4:
      var value = /** @type {number} */ (reader.readDouble());
      msg.setWait(value);
      break;
    default:
      reader.skipField();
      break;
    }
  }
  return msg;
};


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


/**
 * Serializes the given message to binary data (in protobuf wire
 * format), writing to the given BinaryWriter.
 * @param {!proto.Event.TwilightPostItem} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.Event.TwilightPostItem.serializeBinaryToWriter = function(message, writer) {
  var f = undefined;
  f = message.getHandlerid();
  if (f.length > 0) {
    writer.writeString(
      1,
      f
    );
  }
  f = message.getPosteditem();
  if (f !== 0) {
    writer.writeInt32(
      2,
      f
    );
  }
  f = message.getAvatarname();
  if (f.length > 0) {
    writer.writeString(
      3,
      f
    );
  }
  f = message.getWait();
  if (f !== 0.0) {
    writer.writeDouble(
      4,
      f
    );
  }
};


/**
 * optional string handlerID = 1;
 * @return {string}
 */
proto.Event.TwilightPostItem.prototype.getHandlerid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightPostItem} returns this
 */
proto.Event.TwilightPostItem.prototype.setHandlerid = function(value) {
  return jspb.Message.setProto3StringField(this, 1, value);
};


/**
 * optional int32 postedItem = 2;
 * @return {number}
 */
proto.Event.TwilightPostItem.prototype.getPosteditem = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightPostItem} returns this
 */
proto.Event.TwilightPostItem.prototype.setPosteditem = function(value) {
  return jspb.Message.setProto3IntField(this, 2, value);
};


/**
 * optional string avatarName = 3;
 * @return {string}
 */
proto.Event.TwilightPostItem.prototype.getAvatarname = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event.TwilightPostItem} returns this
 */
proto.Event.TwilightPostItem.prototype.setAvatarname = function(value) {
  return jspb.Message.setProto3StringField(this, 3, value);
};


/**
 * optional double wait = 4;
 * @return {number}
 */
proto.Event.TwilightPostItem.prototype.getWait = function() {
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
};


/**
 * @param {number} value
 * @return {!proto.Event.TwilightPostItem} returns this
 */
proto.Event.TwilightPostItem.prototype.setWait = function(value) {
  return jspb.Message.setProto3FloatField(this, 4, value);
};


/**
 * optional int64 millis = 1;
 * @return {number}
 */
proto.Event.prototype.getMillis = function() {
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};


/**
 * @param {number} value
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.setMillis = function(value) {
  return jspb.Message.setProto3IntField(this, 1, value);
};


/**
 * optional string avatarID = 2;
 * @return {string}
 */
proto.Event.prototype.getAvatarid = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.setAvatarid = function(value) {
  return jspb.Message.setProto3StringField(this, 2, value);
};


/**
 * optional EventID eventID = 3;
 * @return {!proto.Event.EventID}
 */
proto.Event.prototype.getEventid = function() {
  return /** @type {!proto.Event.EventID} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};


/**
 * @param {!proto.Event.EventID} value
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.setEventid = function(value) {
  return jspb.Message.setProto3EnumField(this, 3, value);
};


/**
 * optional string text = 4;
 * @return {string}
 */
proto.Event.prototype.getText = function() {
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};


/**
 * @param {string} value
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.setText = function(value) {
  return jspb.Message.setProto3StringField(this, 4, value);
};


/**
 * repeated bytes data = 5;
 * @return {!(Array<!Uint8Array>|Array<string>)}
 */
proto.Event.prototype.getDataList = function() {
  return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 5));
};


/**
 * repeated bytes data = 5;
 * This is a type-conversion wrapper around `getDataList()`
 * @return {!Array<string>}
 */
proto.Event.prototype.getDataList_asB64 = function() {
  return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
      this.getDataList()));
};


/**
 * repeated bytes data = 5;
 * Note that Uint8Array is not supported on all browsers.
 * @see http://caniuse.com/Uint8Array
 * This is a type-conversion wrapper around `getDataList()`
 * @return {!Array<!Uint8Array>}
 */
proto.Event.prototype.getDataList_asU8 = function() {
  return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
      this.getDataList()));
};


/**
 * @param {!(Array<!Uint8Array>|Array<string>)} value
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.setDataList = function(value) {
  return jspb.Message.setField(this, 5, value || []);
};


/**
 * @param {!(string|Uint8Array)} value
 * @param {number=} opt_index
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.addData = function(value, opt_index) {
  return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
};


/**
 * Clears the list making it empty but non-null.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearDataList = function() {
  return this.setDataList([]);
};


/**
 * optional QwilightCallNet qwilightCallNet = 6;
 * @return {?proto.Event.QwilightCallNet}
 */
proto.Event.prototype.getQwilightcallnet = function() {
  return /** @type{?proto.Event.QwilightCallNet} */ (
    jspb.Message.getWrapperField(this, proto.Event.QwilightCallNet, 6));
};


/**
 * @param {?proto.Event.QwilightCallNet|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setQwilightcallnet = function(value) {
  return jspb.Message.setOneofWrapperField(this, 6, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearQwilightcallnet = function() {
  return this.setQwilightcallnet(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasQwilightcallnet = function() {
  return jspb.Message.getField(this, 6) != null;
};


/**
 * optional TwilightCallNet twilightCallNet = 7;
 * @return {?proto.Event.TwilightCallNet}
 */
proto.Event.prototype.getTwilightcallnet = function() {
  return /** @type{?proto.Event.TwilightCallNet} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightCallNet, 7));
};


/**
 * @param {?proto.Event.TwilightCallNet|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightcallnet = function(value) {
  return jspb.Message.setOneofWrapperField(this, 7, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightcallnet = function() {
  return this.setTwilightcallnet(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightcallnet = function() {
  return jspb.Message.getField(this, 7) != null;
};


/**
 * optional QwilightIOInput qwilightIOInput = 8;
 * @return {?proto.Event.QwilightIOInput}
 */
proto.Event.prototype.getQwilightioinput = function() {
  return /** @type{?proto.Event.QwilightIOInput} */ (
    jspb.Message.getWrapperField(this, proto.Event.QwilightIOInput, 8));
};


/**
 * @param {?proto.Event.QwilightIOInput|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setQwilightioinput = function(value) {
  return jspb.Message.setOneofWrapperField(this, 8, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearQwilightioinput = function() {
  return this.setQwilightioinput(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasQwilightioinput = function() {
  return jspb.Message.getField(this, 8) != null;
};


/**
 * optional TwilightIOInput twilightIOInput = 9;
 * @return {?proto.Event.TwilightIOInput}
 */
proto.Event.prototype.getTwilightioinput = function() {
  return /** @type{?proto.Event.TwilightIOInput} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightIOInput, 9));
};


/**
 * @param {?proto.Event.TwilightIOInput|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightioinput = function(value) {
  return jspb.Message.setOneofWrapperField(this, 9, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightioinput = function() {
  return this.setTwilightioinput(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightioinput = function() {
  return jspb.Message.getField(this, 9) != null;
};


/**
 * optional QwilightIOJudge qwilightIOJudge = 10;
 * @return {?proto.Event.QwilightIOJudge}
 */
proto.Event.prototype.getQwilightiojudge = function() {
  return /** @type{?proto.Event.QwilightIOJudge} */ (
    jspb.Message.getWrapperField(this, proto.Event.QwilightIOJudge, 10));
};


/**
 * @param {?proto.Event.QwilightIOJudge|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setQwilightiojudge = function(value) {
  return jspb.Message.setOneofWrapperField(this, 10, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearQwilightiojudge = function() {
  return this.setQwilightiojudge(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasQwilightiojudge = function() {
  return jspb.Message.getField(this, 10) != null;
};


/**
 * optional TwilightIOJudge twilightIOJudge = 11;
 * @return {?proto.Event.TwilightIOJudge}
 */
proto.Event.prototype.getTwilightiojudge = function() {
  return /** @type{?proto.Event.TwilightIOJudge} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightIOJudge, 11));
};


/**
 * @param {?proto.Event.TwilightIOJudge|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightiojudge = function(value) {
  return jspb.Message.setOneofWrapperField(this, 11, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightiojudge = function() {
  return this.setTwilightiojudge(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightiojudge = function() {
  return jspb.Message.getField(this, 11) != null;
};


/**
 * optional QwilightIOJudgmentMeter qwilightIOJudgmentMeter = 12;
 * @return {?proto.Event.QwilightIOJudgmentMeter}
 */
proto.Event.prototype.getQwilightiojudgmentmeter = function() {
  return /** @type{?proto.Event.QwilightIOJudgmentMeter} */ (
    jspb.Message.getWrapperField(this, proto.Event.QwilightIOJudgmentMeter, 12));
};


/**
 * @param {?proto.Event.QwilightIOJudgmentMeter|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setQwilightiojudgmentmeter = function(value) {
  return jspb.Message.setOneofWrapperField(this, 12, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearQwilightiojudgmentmeter = function() {
  return this.setQwilightiojudgmentmeter(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasQwilightiojudgmentmeter = function() {
  return jspb.Message.getField(this, 12) != null;
};


/**
 * optional TwilightIOJudgmentMeter twilightIOJudgmentMeter = 13;
 * @return {?proto.Event.TwilightIOJudgmentMeter}
 */
proto.Event.prototype.getTwilightiojudgmentmeter = function() {
  return /** @type{?proto.Event.TwilightIOJudgmentMeter} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightIOJudgmentMeter, 13));
};


/**
 * @param {?proto.Event.TwilightIOJudgmentMeter|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightiojudgmentmeter = function(value) {
  return jspb.Message.setOneofWrapperField(this, 13, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightiojudgmentmeter = function() {
  return this.setTwilightiojudgmentmeter(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightiojudgmentmeter = function() {
  return jspb.Message.getField(this, 13) != null;
};


/**
 * optional QwilightIONoteVisibility qwilightIONoteVisibility = 14;
 * @return {?proto.Event.QwilightIONoteVisibility}
 */
proto.Event.prototype.getQwilightionotevisibility = function() {
  return /** @type{?proto.Event.QwilightIONoteVisibility} */ (
    jspb.Message.getWrapperField(this, proto.Event.QwilightIONoteVisibility, 14));
};


/**
 * @param {?proto.Event.QwilightIONoteVisibility|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setQwilightionotevisibility = function(value) {
  return jspb.Message.setOneofWrapperField(this, 14, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearQwilightionotevisibility = function() {
  return this.setQwilightionotevisibility(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasQwilightionotevisibility = function() {
  return jspb.Message.getField(this, 14) != null;
};


/**
 * optional TwilightIONoteVisibility twilightIONoteVisibility = 15;
 * @return {?proto.Event.TwilightIONoteVisibility}
 */
proto.Event.prototype.getTwilightionotevisibility = function() {
  return /** @type{?proto.Event.TwilightIONoteVisibility} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightIONoteVisibility, 15));
};


/**
 * @param {?proto.Event.TwilightIONoteVisibility|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightionotevisibility = function(value) {
  return jspb.Message.setOneofWrapperField(this, 15, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightionotevisibility = function() {
  return this.setTwilightionotevisibility(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightionotevisibility = function() {
  return jspb.Message.getField(this, 15) != null;
};


/**
 * optional QwilightIOMultiplier qwilightIOMultiplier = 16;
 * @return {?proto.Event.QwilightIOMultiplier}
 */
proto.Event.prototype.getQwilightiomultiplier = function() {
  return /** @type{?proto.Event.QwilightIOMultiplier} */ (
    jspb.Message.getWrapperField(this, proto.Event.QwilightIOMultiplier, 16));
};


/**
 * @param {?proto.Event.QwilightIOMultiplier|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setQwilightiomultiplier = function(value) {
  return jspb.Message.setOneofWrapperField(this, 16, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearQwilightiomultiplier = function() {
  return this.setQwilightiomultiplier(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasQwilightiomultiplier = function() {
  return jspb.Message.getField(this, 16) != null;
};


/**
 * optional TwilightIOMultiplier twilightIOMultiplier = 17;
 * @return {?proto.Event.TwilightIOMultiplier}
 */
proto.Event.prototype.getTwilightiomultiplier = function() {
  return /** @type{?proto.Event.TwilightIOMultiplier} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightIOMultiplier, 17));
};


/**
 * @param {?proto.Event.TwilightIOMultiplier|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightiomultiplier = function(value) {
  return jspb.Message.setOneofWrapperField(this, 17, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightiomultiplier = function() {
  return this.setTwilightiomultiplier(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightiomultiplier = function() {
  return jspb.Message.getField(this, 17) != null;
};


/**
 * optional QwilightIOAudioMultiplier qwilightIOAudioMultiplier = 18;
 * @return {?proto.Event.QwilightIOAudioMultiplier}
 */
proto.Event.prototype.getQwilightioaudiomultiplier = function() {
  return /** @type{?proto.Event.QwilightIOAudioMultiplier} */ (
    jspb.Message.getWrapperField(this, proto.Event.QwilightIOAudioMultiplier, 18));
};


/**
 * @param {?proto.Event.QwilightIOAudioMultiplier|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setQwilightioaudiomultiplier = function(value) {
  return jspb.Message.setOneofWrapperField(this, 18, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearQwilightioaudiomultiplier = function() {
  return this.setQwilightioaudiomultiplier(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasQwilightioaudiomultiplier = function() {
  return jspb.Message.getField(this, 18) != null;
};


/**
 * optional TwilightIOAudioMultiplier twilightIOAudioMultiplier = 19;
 * @return {?proto.Event.TwilightIOAudioMultiplier}
 */
proto.Event.prototype.getTwilightioaudiomultiplier = function() {
  return /** @type{?proto.Event.TwilightIOAudioMultiplier} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightIOAudioMultiplier, 19));
};


/**
 * @param {?proto.Event.TwilightIOAudioMultiplier|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightioaudiomultiplier = function(value) {
  return jspb.Message.setOneofWrapperField(this, 19, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightioaudiomultiplier = function() {
  return this.setTwilightioaudiomultiplier(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightioaudiomultiplier = function() {
  return jspb.Message.getField(this, 19) != null;
};


/**
 * optional TwilightAudioInput twilightAudioInput = 20;
 * @return {?proto.Event.TwilightAudioInput}
 */
proto.Event.prototype.getTwilightaudioinput = function() {
  return /** @type{?proto.Event.TwilightAudioInput} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightAudioInput, 20));
};


/**
 * @param {?proto.Event.TwilightAudioInput|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightaudioinput = function(value) {
  return jspb.Message.setOneofWrapperField(this, 20, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightaudioinput = function() {
  return this.setTwilightaudioinput(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightaudioinput = function() {
  return jspb.Message.getField(this, 20) != null;
};


/**
 * optional QwilightPostItem qwilightPostItem = 21;
 * @return {?proto.Event.QwilightPostItem}
 */
proto.Event.prototype.getQwilightpostitem = function() {
  return /** @type{?proto.Event.QwilightPostItem} */ (
    jspb.Message.getWrapperField(this, proto.Event.QwilightPostItem, 21));
};


/**
 * @param {?proto.Event.QwilightPostItem|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setQwilightpostitem = function(value) {
  return jspb.Message.setOneofWrapperField(this, 21, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearQwilightpostitem = function() {
  return this.setQwilightpostitem(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasQwilightpostitem = function() {
  return jspb.Message.getField(this, 21) != null;
};


/**
 * optional TwilightPostItem twilightPostItem = 22;
 * @return {?proto.Event.TwilightPostItem}
 */
proto.Event.prototype.getTwilightpostitem = function() {
  return /** @type{?proto.Event.TwilightPostItem} */ (
    jspb.Message.getWrapperField(this, proto.Event.TwilightPostItem, 22));
};


/**
 * @param {?proto.Event.TwilightPostItem|undefined} value
 * @return {!proto.Event} returns this
*/
proto.Event.prototype.setTwilightpostitem = function(value) {
  return jspb.Message.setOneofWrapperField(this, 22, proto.Event.oneofGroups_[0], value);
};


/**
 * Clears the message field making it undefined.
 * @return {!proto.Event} returns this
 */
proto.Event.prototype.clearTwilightpostitem = function() {
  return this.setTwilightpostitem(undefined);
};


/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.Event.prototype.hasTwilightpostitem = function() {
  return jspb.Message.getField(this, 22) != null;
};


goog.object.extend(exports, proto);
