public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < commands_.size(); i++) {
        output.writeMessage(1, commands_.get(i));
      }
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeSInt32(2, gameSpeed_);
      }
      for (int i = 0; i < sendText_.size(); i++) {
        output.writeBytes(3, sendText_.getByteString(i));
      }
      for (int i = 0; i < printf_.size(); i++) {
        output.writeBytes(4, printf_.getByteString(i));
      }
      for (int i = 0; i < flags_.size(); i++) {
        output.writeEnum(5, flags_.get(i).getNumber());
      }
      for (int i = 0; i < drawCommands_.size(); i++) {
        output.writeMessage(6, drawCommands_.get(i));
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeMessage(7, screenPosition_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeBytes(8, getBotNameBytes());
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeBytes(9, getBotCodeBytes());
      }
      getUnknownFields().writeTo(output);
    }